diff options
| author | Jeff Carr <[email protected]> | 2023-04-27 12:41:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-27 12:41:42 -0500 |
| commit | 253dcb012f6d4fc861e6fc9a66fd2c7260ead442 (patch) | |
| tree | a3092695fa5d6769d5898e3319016f0bb84ae6e9 /toolkit/andlabs/slider.go | |
| parent | 8100e7a1abdc31afbf65af6d0b7cd7cb0fff69eb (diff) | |
andlabs: deprecate old code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/slider.go')
| -rw-r--r-- | toolkit/andlabs/slider.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/andlabs/slider.go b/toolkit/andlabs/slider.go index 16c8a8b..f1b4676 100644 --- a/toolkit/andlabs/slider.go +++ b/toolkit/andlabs/slider.go @@ -13,8 +13,8 @@ func (p *node) newSlider(n *node) { newt.uiControl = s s.OnChanged(func(spin *ui.Slider) { - newt.i = newt.uiSlider.Value() - newt.doUserEvent() + n.I = newt.uiSlider.Value() + n.doUserEvent() }) n.tk = newt |
