From 85db878943d60b995f86809b417f1c0218e1cdc9 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 27 Mar 2021 13:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AA=97=E5=8F=A3=E6=AF=94?= =?UTF-8?q?=E4=BE=8B=E9=9D=9E=E9=BB=98=E8=AE=A4=E6=97=B6staff=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E5=BC=B9=E5=B9=95=E8=8C=83=E5=9B=B4=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/staff.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parts/scenes/staff.lua b/parts/scenes/staff.lua index 466d5a5b..725fbda1 100644 --- a/parts/scenes/staff.lua +++ b/parts/scenes/staff.lua @@ -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)