mirror of
https://github.com/airstruck/luigi.git
synced 2026-03-14 05:36:51 -06:00
Widget.pressed is now a table of booleans keyed by mouse button name
This commit is contained in:
+1
-1
@@ -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