修复行号显示不正确(最后一次,大概)
This commit is contained in:
@@ -743,10 +743,11 @@ function draw.norm(P,repMode)
|
|||||||
--Draw field
|
--Draw field
|
||||||
drawField(P,repMode)
|
drawField(P,repMode)
|
||||||
|
|
||||||
|
--Draw line number
|
||||||
if ENV.fieldH>20 and ENV.lineNum then
|
if ENV.fieldH>20 and ENV.lineNum then
|
||||||
gc_setColor(1,1,1,ENV.lineNum)
|
gc_setColor(1,1,1,ENV.lineNum)
|
||||||
setFont(20)
|
setFont(20)
|
||||||
local dy=camDY<900 and 0 or camDY-camDY%300-900
|
local dy=camDY<900 and 0 or camDY-camDY%300-600
|
||||||
for i=1,3 do
|
for i=1,3 do
|
||||||
gc.print(10+10*i+dy/30,2,-325-300*i-dy)
|
gc.print(10+10*i+dy/30,2,-325-300*i-dy)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user