Animation editor now uses proper animation data, misc other code tweaks to animation editor

This commit is contained in:
Maruno17
2023-10-01 20:39:04 +01:00
parent 2ff47cf40d
commit 79ffcd3230
12 changed files with 339 additions and 105 deletions

View File

@@ -134,7 +134,6 @@ class UIControls::BaseControl < BitmapSprite
end
end
# Returns whether this control has been properly decaptured.
def on_mouse_release
@captured_area = nil
invalidate
@@ -167,6 +166,7 @@ class UIControls::BaseControl < BitmapSprite
# Updates the logic on the control, invalidating it if necessary.
def update
return if !self.visible
# TODO: Disabled control stuff.
# return if self.disabled