mirror of https://github.com/kivy/kivy.git
Fixes TextInput cursor issues when resizing/scrolling (#7622)
* Fixes text input cursor issues when resizing/scrolling * refactoring
This commit is contained in:
parent
b1b3492d4e
commit
1e518357cb
|
@ -190,6 +190,7 @@
|
|||
rgba:
|
||||
(self.cursor_color
|
||||
if self.focus and not self._cursor_blink
|
||||
and int(self.x + self.padding[0]) <= self._cursor_visual_pos[0] <= int(self.x + self.width - self.padding[2])
|
||||
else (0, 0, 0, 0))
|
||||
Rectangle:
|
||||
pos: self._cursor_visual_pos
|
||||
|
|
Loading…
Reference in New Issue