Skip to content

fix(ohos): prevent scaling loop when entering video page#65

Merged
cnctem merged 1 commit intoqinshah:ohosfrom
cnctem:test075
Feb 16, 2026
Merged

fix(ohos): prevent scaling loop when entering video page#65
cnctem merged 1 commit intoqinshah:ohosfrom
cnctem:test075

Conversation

@cnctem
Copy link
Copy Markdown
Collaborator

@cnctem cnctem commented Feb 16, 2026

修复了进入视频详情页时,界面布局在 1.0 和 0.75 缩放比例之间反复跳动的问题。

  • 优化 setMiniWindowLandscape:仅在当前处于悬浮窗模式时才调用原生方法,避免在全屏模式下触发不必要的窗口状态更新。
  • 优化 _onFloatingWindowChange:在进入悬浮窗模式时,自动根据当前设置同步原生的横屏/竖屏状态。

修复了进入视频详情页时,界面布局在 1.0 和 0.75 缩放比例之间反复跳动的问题。
- 优化 `setMiniWindowLandscape`:仅在当前处于悬浮窗模式时才调用原生方法,避免在全屏模式下触发不必要的窗口状态更新。
- 优化 `_onFloatingWindowChange`:在进入悬浮窗模式时,自动根据当前设置同步原生的横屏/竖屏状态。
@cnctem cnctem merged commit 880b06c into qinshah:ohos Feb 16, 2026
1 check passed
@cnctem cnctem deleted the test075 branch February 16, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant