Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-09 18:11:57 +08:00
parent dbb865d723
commit fab34df973
4 changed files with 30 additions and 27 deletions

View File

@@ -267,7 +267,10 @@ class VideoDetailController extends GetxController
final isVertical = height > width;
if (_scrollCtr?.hasClients != true) {
videoHeight = isVertical ? maxVideoHeight : minVideoHeight;
this.isVertical.value = isVertical;
if (this.isVertical.value != isVertical) {
this.isVertical.value = isVertical;
_needAnimOnDimensionChanged(isVertical);
}
return;
}
if (this.isVertical.value != isVertical) {