Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6bfeb85

Browse files
committed
fixes problem with drag not updating with finger movement
1 parent5e092d8 commit6bfeb85

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎api_drivers/py_api_drivers/frozen/indev/pointer_framework.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,16 @@ def _calc_coords(self, x, y):
9999

100100
def_read(self,drv,data):# NOQA
101101
coords=self._get_coords()
102+
data.continue_reading=False
102103

103104
ifcoordsisNone:
104-
data.continue_reading=False
105105
state=self.RELEASED
106106
x,y=self._last_x,self._last_y
107107
else:
108108
state,x,y=coords
109-
data.continue_reading=True
110109

111110
ifNonein (x,y):
112111
x,y=self._last_x,self._last_y
113-
data.continue_reading=False
114112

115113
data.point.x,data.point.y= (
116114
self._calc_coords(x,y)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp