mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2026-03-22 12:06:13 +00:00
Sync: Renamed Engine to Window to be less confusing, elements are now supposed to throw a changed event if their value is changed
This commit is contained in:
@@ -43,6 +43,7 @@ module CyberarmEngine
|
||||
@fraction = decimal.clamp(0.0, 1.0)
|
||||
update_background
|
||||
|
||||
publish(:changed, @fraction)
|
||||
return @fraction
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user