bug(w.l.overflow): Don't set position to initial click location

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
Lucas Schwiderski 2021-12-22 18:36:59 +01:00
parent 11892732d7
commit 6af44658a8
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
1 changed files with 0 additions and 3 deletions

View File

@ -418,9 +418,6 @@ local function build_grabber(container, initial_x, initial_y, geo)
local start_pos = container._private.scroll_factor * bar_interval local start_pos = container._private.scroll_factor * bar_interval
local start = is_y and initial_y or initial_x local start = is_y and initial_y or initial_x
-- Set to initial click location
container:set_scroll_factor(start / container._private.avail_in_dir)
-- Calculate a matrix transforming from screen coordinates into widget -- Calculate a matrix transforming from screen coordinates into widget
-- coordinates. -- coordinates.
-- This is required for mouse movement to work when the widget has been -- This is required for mouse movement to work when the widget has been