mirror of
https://github.com/Insality/druid.git
synced 2025-11-26 19:00:50 +01:00
Update
This commit is contained in:
@@ -75,6 +75,11 @@ function M:init()
|
||||
end
|
||||
|
||||
|
||||
function M:on_remove()
|
||||
self:clear()
|
||||
end
|
||||
|
||||
|
||||
function M:on_drag_widget(dx, dy)
|
||||
local position = self.container:get_position()
|
||||
self.container:set_position(position.x + dx, position.y + dy)
|
||||
|
||||
Reference in New Issue
Block a user