We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eac9f0 commit 8215b8fCopy full SHA for 8215b8f
1 file changed
Assets/Android/Scripts/VirtualJoystick.cs
@@ -172,7 +172,9 @@ public void OnPointerClick(PointerEventData eventData)
172
}
173
void AndroidScreenManager_ScreenResolutionChanged(Resolution newResolution)
174
{
175
- UpdateSizeOfRectTF(newResolution.width);
+ // UpdateSizeOfRectTF(newResolution.width);
176
+
177
+ UpdateSizeOfRectTF(rootRectTF.rect.width);
178
179
180
0 commit comments