File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/lua-tests/src/WebViewTest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ function WebViewTest:init()
7777
7878 local backBtn = ccui .Button :create (" cocosui/animationbuttonnormal.png" , " cocosui/animationbuttonpressed.png" )
7979 backBtn :setTitleText (" Back" )
80- backBtn :setPosition (winSize .width / 2 + self ._webView :getContentSize ().width / 2 + backBtn :getContentSize ().width / 2 + 10 , winSize .height - 50 )
80+ backBtn :setPosition (winSize .width / 2 + self ._webView :getContentSize ().width / 2 + backBtn :getContentSize ().width / 2 + 10 , winSize .height - 10 )
8181 backBtn :addClickEventListener (function (sender )
8282 self ._webView :goBack ()
8383 end )
@@ -127,4 +127,4 @@ function WebViewTestMain()
127127 scene :addChild (WebViewTest .create ())
128128 scene :addChild (CreateBackMenuItem ())
129129 return scene
130- end
130+ end
You can’t perform that action at this time.
0 commit comments