Fix brightness and volume scroll swapped
This commit is contained in:
parent
265896a07e
commit
cf2d7a398d
1 changed files with 2 additions and 2 deletions
|
|
@ -111,10 +111,10 @@ public class PlayerGestureListener
|
||||||
}
|
}
|
||||||
if (playerType == MainPlayer.PlayerType.VIDEO) {
|
if (playerType == MainPlayer.PlayerType.VIDEO) {
|
||||||
if (portion == DisplayPortion.LEFT_HALF) {
|
if (portion == DisplayPortion.LEFT_HALF) {
|
||||||
onScrollMainVolume(distanceX, distanceY);
|
onScrollMainBrightness(distanceX, distanceY);
|
||||||
|
|
||||||
} else /* DisplayPortion.RIGHT_HALF */ {
|
} else /* DisplayPortion.RIGHT_HALF */ {
|
||||||
onScrollMainBrightness(distanceX, distanceY);
|
onScrollMainVolume(distanceX, distanceY);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else /* MainPlayer.PlayerType.POPUP */ {
|
} else /* MainPlayer.PlayerType.POPUP */ {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue