lib/cyberarm_engine/ui/elements/progress.rb in cyberarm_engine-0.13.1 vs lib/cyberarm_engine/ui/elements/progress.rb in cyberarm_engine-0.14.0
- old
+ new
@@ -41,9 +41,10 @@
raise "value must be number" unless decimal.is_a?(Numeric)
@fraction = decimal.clamp(0.0, 1.0)
update_background
+ publish(:changed, @fraction)
return @fraction
end
end
end
end
\ No newline at end of file