mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2026-11-04 16:33:52 +00:00
Fixed using this instead of self for slider and check box
This commit is contained in:
@@ -46,7 +46,7 @@ module CyberarmEngine
|
||||
end
|
||||
|
||||
def value=(bool)
|
||||
old_value = this.value
|
||||
old_value = self.value
|
||||
|
||||
@toggle_button.value = bool
|
||||
publish(:changed, bool) if bool != old_value
|
||||
|
||||
@@ -94,7 +94,7 @@ module CyberarmEngine
|
||||
end
|
||||
|
||||
def value=(n)
|
||||
old_value = this.value
|
||||
old_value = self.value
|
||||
|
||||
@value = n
|
||||
position_handle
|
||||
|
||||
Reference in New Issue
Block a user