mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
Widget.pressed is now a table of booleans keyed by mouse button name
This commit is contained in:
@@ -23,7 +23,7 @@ return function (self)
|
||||
|
||||
local function unpress (event)
|
||||
if event.button ~= 'left' then return end
|
||||
thumb.pressed = false -- don't make the thumb appear pushed in
|
||||
thumb.pressed.left = nil -- don't make the thumb appear pushed in
|
||||
return false -- don't press thumb on focused keyboard activation
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user