minor fix

This commit is contained in:
Thibault Deckers 2020-05-08 23:09:59 +09:00
parent c0e909937d
commit 9e42156e13
2 changed files with 2 additions and 2 deletions

View file

@ -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(

View file

@ -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();
});
}