mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 10:26:43 +00:00
add mouse cursors
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
return function (self)
|
||||
|
||||
self:onEnter(function (event)
|
||||
local axis = self.parent.flow
|
||||
if axis == 'x' then
|
||||
self.cursor = 'sizewe'
|
||||
else
|
||||
self.cursor = 'sizens'
|
||||
end
|
||||
end)
|
||||
|
||||
self:onPressDrag(function (event)
|
||||
local axis = self.parent.flow
|
||||
if axis == 'x' then
|
||||
|
||||
Reference in New Issue
Block a user