Skip to content

Commit

Permalink
Fix: fix vertical darg sensitive bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackiu1997 committed Feb 2, 2023
1 parent a70ee1e commit 1531067
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ class _BrightnessVolumnDargAreaState extends State<BrightnessVolumnDargArea> {

void _onVerticalDragUpdate(Offset postion, Offset delta) async {
if (controller.showLocked.value) return;
if (delta.distance < 0.2) return;

if (_hideBVStuff) {
_isDargLeft = (postion.dx > (widget.videoWith / 2)) ? false : true;
Expand Down

0 comments on commit 1531067

Please sign in to comment.