Add menu bar to Animation Editor, some refactoring

This commit is contained in:
Maruno17
2023-11-19 22:13:47 +00:00
parent ab2d2c1356
commit b54a96f23f
8 changed files with 421 additions and 293 deletions

View File

@@ -29,6 +29,13 @@ class UIControls::Button < UIControls::BaseControl
}
end
# TODO: This won't change the button's size. This is probably okay.
def set_text(val)
return if @text == val
@text = val
invalidate
end
def set_changed
@value = true
super