fix(ohos): prevent scaling loop when entering video page#65
Merged
cnctem merged 1 commit intoqinshah:ohosfrom Feb 16, 2026
Merged
fix(ohos): prevent scaling loop when entering video page#65cnctem merged 1 commit intoqinshah:ohosfrom
cnctem merged 1 commit intoqinshah:ohosfrom
Conversation
修复了进入视频详情页时,界面布局在 1.0 和 0.75 缩放比例之间反复跳动的问题。 - 优化 `setMiniWindowLandscape`:仅在当前处于悬浮窗模式时才调用原生方法,避免在全屏模式下触发不必要的窗口状态更新。 - 优化 `_onFloatingWindowChange`:在进入悬浮窗模式时,自动根据当前设置同步原生的横屏/竖屏状态。
This was referenced Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复了进入视频详情页时,界面布局在 1.0 和 0.75 缩放比例之间反复跳动的问题。
setMiniWindowLandscape:仅在当前处于悬浮窗模式时才调用原生方法,避免在全屏模式下触发不必要的窗口状态更新。_onFloatingWindowChange:在进入悬浮窗模式时,自动根据当前设置同步原生的横屏/竖屏状态。