Browse Source

Fixed Linux resize and scrolling issues.

seanpaultaylor 11 năm trước cách đây
mục cha
commit
73176db9e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gameplay/src/PlatformLinux.cpp

+ 1 - 1
gameplay/src/PlatformLinux.cpp

@@ -1280,7 +1280,7 @@ int Platform::enterMessagePump()
 
                             if (!gameplay::Platform::mouseEventInternal(mouseEvt, evt.xbutton.x, evt.xbutton.y, 0))
                             {
-                                gameplay::Platform::touchEventInternal(gameplay::Touch::TOUCH_PRESS, evt.xbutton.x, evt.xbutton.y, 0, true);
+                                gameplay::Platform::touchEventInternal(gameplay::Touch::TOUCH_RELEASE, evt.xbutton.x, evt.xbutton.y, 0, true);
                             }
                         }
                     }