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:
@@ -12,7 +12,7 @@ return {
|
||||
width = 48,
|
||||
height = 48,
|
||||
slices = function (self)
|
||||
if self.focused or self.hovered or self.pressed then
|
||||
if self.focused or self.hovered or self.pressed.left then
|
||||
return nil -- fall back to theme default
|
||||
end
|
||||
return false -- no slices
|
||||
|
||||
Reference in New Issue
Block a user