lib/cyberarm_engine/ui/elements/label.rb in cyberarm_engine-0.13.1 vs lib/cyberarm_engine/ui/elements/label.rb in cyberarm_engine-0.14.0

- old
+ new

@@ -12,11 +12,11 @@ end def clicked_left_mouse_button(sender, x, y) @block.call(self) if @block - return :handled + # return :handled end def recalculate @width, @height = 0, 0 @@ -42,9 +42,11 @@ old_width, old_height = width, height recalculate root.gui_state.request_recalculate if old_width != width || old_height != height + + publish(:changed, self.value) end end end end \ No newline at end of file