This commit is contained in:
Insality
2024-11-21 00:18:43 +02:00
parent c0abfd350e
commit 4ef65579a6
12 changed files with 817 additions and 6 deletions

View File

@@ -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)