修复主菜单开关全屏会让快速开始按钮文本错误 close #566
This commit is contained in:
@@ -27,8 +27,7 @@ function scene.sceneInit()
|
||||
scrollX=tipLength
|
||||
|
||||
--Set quick-play-button text
|
||||
local qpModeName=text.modes[STAT.lastPlay]and text.modes[STAT.lastPlay][1]or"["..STAT.lastPlay.."]"
|
||||
scene.widgetList[2]:setObject(text.WidgetText.main.qplay..": "..qpModeName)
|
||||
scene.resize()
|
||||
|
||||
--Create demo player
|
||||
destroyPlayers()
|
||||
@@ -38,6 +37,11 @@ function scene.sceneInit()
|
||||
PLAYERS[1]:setPosition(520,140,.8)
|
||||
end
|
||||
|
||||
function scene.resize()
|
||||
local qpModeName=text.modes[STAT.lastPlay]and text.modes[STAT.lastPlay][1]or"["..STAT.lastPlay.."]"
|
||||
scene.widgetList[2]:setObject(text.WidgetText.main.qplay..": "..qpModeName)
|
||||
end
|
||||
|
||||
function scene.mouseDown(x,y)
|
||||
if x>=400 and x<=880 and y>=10 and y<=110 then
|
||||
enterConsole()
|
||||
|
||||
Reference in New Issue
Block a user