修复窗口比例非默认时staff场景弹幕范围不对
This commit is contained in:
@@ -77,6 +77,8 @@ function scene.update(dt)
|
||||
end
|
||||
|
||||
function scene.draw()
|
||||
gc.push("transform")
|
||||
gc.origin()
|
||||
for i=1,#names do
|
||||
local N=names[i]
|
||||
if type(N.color)=="table"then
|
||||
@@ -86,6 +88,7 @@ function scene.draw()
|
||||
end
|
||||
gc.draw(N.text,N.x,N.y)
|
||||
end
|
||||
gc.pop()
|
||||
|
||||
gc.setColor(1,1,1)
|
||||
local T=40*math.min(time,45)
|
||||
|
||||
Reference in New Issue
Block a user