You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: when using cc.Director.setContentScaleFactor(), the touch position are not handled properly.
Steps to reproduce:
1/ Use renderMode:1 (Canvas only)
2/ Add a cc.Menu with some cc.MenuItem elements to the main layer
3/ Use the Hello World sample code which was available in 2.1.1 to resize the canvas depending on the size of the window
Result: the designs are properly scaled, but the touch positions are wrong
Expected result: the touch positions should be scaled properly (following the designs)
PS: it works fine on 2.1.1
The text was updated successfully, but these errors were encountered:
Issue: when using cc.Director.setContentScaleFactor(), the touch position are not handled properly.
Steps to reproduce:
1/ Use renderMode:1 (Canvas only)
2/ Add a cc.Menu with some cc.MenuItem elements to the main layer
3/ Use the Hello World sample code which was available in 2.1.1 to resize the canvas depending on the size of the window
Result: the designs are properly scaled, but the touch positions are wrong
Expected result: the touch positions should be scaled properly (following the designs)
PS: it works fine on 2.1.1
The text was updated successfully, but these errors were encountered: