Skip to content

Commit

Permalink
Only allow dragging sliders at the thumb
Browse files Browse the repository at this point in the history
  • Loading branch information
kra-mo committed Sep 18, 2024
1 parent 638a569 commit c631d02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ class _SlySliderState extends State<SlySlider> {
secondaryActiveColor: widget.secondaryActiveColor,
thumbColor: widget.thumbColor,
overlayColor: widget.overlayColor,
mouseCursor: widget.mouseCursor,
mouseCursor: widget.mouseCursor ?? SystemMouseCursors.basic,
semanticFormatterCallback: widget.semanticFormatterCallback,
focusNode: widget.focusNode,
autofocus: widget.autofocus,
allowedInteraction: widget.allowedInteraction,
allowedInteraction: SliderInteraction.slideThumb,
),
),
);
Expand Down

0 comments on commit c631d02

Please sign in to comment.