mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2026-11-05 00:43:56 +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
|
end
|
||||||
|
|
||||||
def value=(bool)
|
def value=(bool)
|
||||||
old_value = this.value
|
old_value = self.value
|
||||||
|
|
||||||
@toggle_button.value = bool
|
@toggle_button.value = bool
|
||||||
publish(:changed, bool) if bool != old_value
|
publish(:changed, bool) if bool != old_value
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ module CyberarmEngine
|
|||||||
end
|
end
|
||||||
|
|
||||||
def value=(n)
|
def value=(n)
|
||||||
old_value = this.value
|
old_value = self.value
|
||||||
|
|
||||||
@value = n
|
@value = n
|
||||||
position_handle
|
position_handle
|
||||||
|
|||||||
Reference in New Issue
Block a user