🚸 Prevent changing slider value while scrolling
This commit is contained in:
@ -138,6 +138,7 @@ class _MixingCardState extends State<MixingCard> {
|
||||
min: 0,
|
||||
max: 4,
|
||||
label: _sliderValue.toStringAsFixed(2),
|
||||
allowedInteraction: SliderInteraction.slideThumb,
|
||||
onChangeStart: ((val) {
|
||||
_sliderActive = true;
|
||||
}),
|
||||
|
@ -67,6 +67,7 @@ class _PortConnectionCardState extends State<PortConnectionCard> {
|
||||
max: 4,
|
||||
value: _sliderValue,
|
||||
label: _sliderValue.toStringAsFixed(2),
|
||||
allowedInteraction: SliderInteraction.slideThumb,
|
||||
onChangeStart: ((val) {
|
||||
_sliderActive = true;
|
||||
}),
|
||||
|
Reference in New Issue
Block a user