Fixed using this instead of self for slider and check box

This commit is contained in:
2026-09-27 18:16:47 -05:00
parent d6d3c07bbc
commit 685c94bd1b
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -94,7 +94,7 @@ module CyberarmEngine
end
def value=(n)
old_value = this.value
old_value = self.value
@value = n
position_handle