1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 07:03:20 +00:00

Fix brightness and volume scroll swapped

This commit is contained in:
Stypox 2020-11-04 16:10:25 +01:00
parent 1b47a1a994
commit 617ee0afc0
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -111,10 +111,10 @@ public class PlayerGestureListener
}
if (playerType == MainPlayer.PlayerType.VIDEO) {
if (portion == DisplayPortion.LEFT_HALF) {
onScrollMainVolume(distanceX, distanceY);
onScrollMainBrightness(distanceX, distanceY);
} else /* DisplayPortion.RIGHT_HALF */ {
onScrollMainBrightness(distanceX, distanceY);
onScrollMainVolume(distanceX, distanceY);
}
} else /* MainPlayer.PlayerType.POPUP */ {