Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-08 21:26:21 +08:00
parent f5dbfcec79
commit d63116542b
18 changed files with 73 additions and 51 deletions

View File

@@ -288,11 +288,11 @@ class VideoDetailController extends GetxController
.toPrecision(2);
double minVideoHeightPrecise = minVideoHeight.toPrecision(2);
if (currentHeight == minVideoHeightPrecise) {
this.videoHeight = minVideoHeight;
if (_needAnimOnDimensionChanged(isVertical)) {
isExpanding = true;
this.videoHeight = minVideoHeight;
animationController.forward(from: 1);
}
animationController.forward(from: 1);
} else if (currentHeight < minVideoHeightPrecise) {
// expand
if (_needAnimOnDimensionChanged(isVertical)) {