Transpiled version (8646L) is out of date.
static JSlider jLiveValueSlider_int_bothWays(int min, int max, IVarWithNotify<Int> lv) { new AtomicInt changing; JSlider slider = liveSlider(min, max, clamp(lv!, min, max), v -> { if (changing! == 0) lv.set(v); }); bindLiveValueListenerToComponent(slider, lv, r { temp tempIncAtomicInt(changing); setSliderValue(slider, lv!); }); ret slider; }
Began life as a copy of #1026708
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1031902 |
| Snippet name: | jLiveValueSlider_int_bothWays |
| Eternal ID of this version: | #1031902/6 |
| Text MD5: | 48e0182ed09c256f5486cbfd2891e58a |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-17 20:29:22 |
| Source code size: | 394 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 432 / 566 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |