lib/cyberarm_engine/ui/elements/button.rb in cyberarm_engine-0.19.1 vs lib/cyberarm_engine/ui/elements/button.rb in cyberarm_engine-0.20.0

- old
+ new

@@ -84,12 +84,15 @@ super end old_width = width old_height = height - recalculate - root.gui_state.request_recalculate if old_width != width || old_height != height + if old_width != width || old_height != height + root.gui_state.request_recalculate + else + recalculate + end publish(:changed, self.value) end end end