Gesture detector e.delta_y, e.global_y, e.local_y, e.delta_x, e.global_x, e.local_x appears to give slightly inaccurate results when the on_vertical_drag_update, on_horizontal_drag_update, on_pan_update callbacks are executed. #825
Motivation/usecase (I'm seeking workarounds if this cant be fixed as the "mouse" module I'm using to demonstrate isnt fully cross-platform)
I wanted to create my own window resize handles at the borders of the window. Dont really know of any other way that this can be achieved. Are there any alternative methods of getting the cursor position in flet? Note, that Im looking to resize the window at the end of the day, so WindowDragArea isnt quite what I need (unless it can be updated to include this functionality).
Demo
https://youtu.be/DBS9pVDReQs
Sample
External module "mouse" used for demonstrating correct behavior can be installed via
pip install mouse
Motivation/usecase (I'm seeking workarounds if this cant be fixed as the "mouse" module I'm using to demonstrate isnt fully cross-platform)
I wanted to create my own window resize handles at the borders of the window. Dont really know of any other way that this can be achieved. Are there any alternative methods of getting the cursor position in flet? Note, that Im looking to resize the window at the end of the day, so
WindowDragArea
isnt quite what I need (unless it can be updated to include this functionality).Thanks for reading!💖