Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat(video-playback): increase tap area of seekbar

ashilkn6ae479a654e9
diff --git a/lib/ui/viewer/file/video_widget_new.dart b/lib/ui/viewer/file/video_widget_new.dart
index 624566b1d4..fd2183a73f 100644
--- a/lib/ui/viewer/file/video_widget_new.dart
+++ b/lib/ui/viewer/file/video_widget_new.dart
@@ -32,7 +32,7 @@ class VideoWidgetNew extends StatefulWidget {
}
class _VideoWidgetNewState extends State<VideoWidgetNew> {
- static const verticalMargin = 100.0;
+ static const verticalMargin = 72.0;
late final player = Player();
VideoController? controller;
final _progressNotifier = ValueNotifier<double?>(null);
@@ -101,6 +101,7 @@ class _VideoWidgetNewState extends State<VideoWidgetNew> {
seekBarThumbColor: backgroundElevatedLight,
seekBarColor: fillMutedDark,
seekBarPositionColor: colorScheme.primary300,
+ seekBarContainerHeight: 56,
///topButtonBarMargin is needed for keeping the buffering loading
///indicator to be center aligned