mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
fix trackpad not respecting enableSlideVolumeBrightness property
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -1327,6 +1327,10 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
plPlayerController.updatePreviewIndex(newPos ~/ 1000);
|
plPlayerController.updatePreviewIndex(newPos ~/ 1000);
|
||||||
}
|
}
|
||||||
} else if (_gestureType == GestureType.right) {
|
} else if (_gestureType == GestureType.right) {
|
||||||
|
if (!plPlayerController.enableSlideVolumeBrightness) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
final double level = maxHeight * 0.5;
|
final double level = maxHeight * 0.5;
|
||||||
EasyThrottle.throttle(
|
EasyThrottle.throttle(
|
||||||
'setVolume',
|
'setVolume',
|
||||||
|
|||||||
Reference in New Issue
Block a user