修复行号显示不正确(最后一次,大概)

This commit is contained in:
MrZ626
2021-08-18 03:23:39 +08:00
parent 58881f8ef5
commit f268ed8427

View File

@@ -743,10 +743,11 @@ function draw.norm(P,repMode)
--Draw field
drawField(P,repMode)
--Draw line number
if ENV.fieldH>20 and ENV.lineNum then
gc_setColor(1,1,1,ENV.lineNum)
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
gc.print(10+10*i+dy/30,2,-325-300*i-dy)
end