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

@@ -33,6 +33,7 @@ class UIControls::List < UIControls::BaseControl
else
self.top_row = 0
end
self.selected = -1 if @selected >= @values.length
invalidate
end
@@ -202,6 +203,7 @@ class UIControls::List < UIControls::BaseControl
end
def update
return if !self.visible
super
# TODO: Disabled control stuff.
# return if self.disabled