minor fix
This commit is contained in:
parent
c0e909937d
commit
9e42156e13
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ class FullscreenBodyState extends State<FullscreenBody> with SingleTickerProvide
|
|||
_horizontalPager = PageController(initialPage: _currentHorizontalPage);
|
||||
_verticalPager = PageController(initialPage: _currentVerticalPage.value)..addListener(_onVerticalPageControllerChange);
|
||||
_overlayAnimationController = AnimationController(
|
||||
duration: const Duration(milliseconds: 400),
|
||||
duration: const Duration(milliseconds: 300),
|
||||
vsync: this,
|
||||
);
|
||||
_topOverlayScale = CurvedAnimation(
|
||||
|
|
|
@ -215,7 +215,7 @@ class VideoControlOverlayState extends State<VideoControlOverlay> with SingleTic
|
|||
void _startTimer() {
|
||||
if (controller.textureId == null) return;
|
||||
_progressTimer?.cancel();
|
||||
_progressTimer = Timer.periodic(const Duration(milliseconds: 350), (timer) {
|
||||
_progressTimer = Timer.periodic(const Duration(milliseconds: 300), (timer) {
|
||||
controller.refreshVideoInfo();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue