We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3069b commit a05d6a5Copy full SHA for a05d6a5
tests/lua-tests/src/mainMenu.lua
@@ -149,6 +149,10 @@ function CreateTestMenu()
149
CloseMenu:setPosition(0, 0)
150
CloseMenu:addChild(CloseItem)
151
menuLayer:addChild(CloseMenu)
152
+ local targetPlatform = cc.Application:getInstance():getTargetPlatform()
153
+ if (cc.PLATFORM_OS_IPHONE == targetPlatform) or (cc.PLATFORM_OS_IPAD == targetPlatform) then
154
+ CloseMenu:setVisible(false)
155
+ end
156
157
-- add menu items for tests
158
local MainMenu = cc.Menu:create()
0 commit comments