mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Add menu bar to Animation Editor, some refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user