From 43c4af991bd538300eba06a625d31ce0b7a59d44 Mon Sep 17 00:00:00 2001 From: Lloyd_Liu <12595420+Lloyd-Liu@user.noreply.gitee.com> Date: Thu, 20 Mar 2025 12:59:41 +0000 Subject: [PATCH] update features/home/src/main/ets/view/RecommendedVideo.ets. Signed-off-by: Lloyd_Liu <12595420+Lloyd-Liu@user.noreply.gitee.com> --- features/home/src/main/ets/view/RecommendedVideo.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/home/src/main/ets/view/RecommendedVideo.ets b/features/home/src/main/ets/view/RecommendedVideo.ets index 2aa9fdb..5c6b3f1 100644 --- a/features/home/src/main/ets/view/RecommendedVideo.ets +++ b/features/home/src/main/ets/view/RecommendedVideo.ets @@ -99,7 +99,7 @@ export struct RecommendedVideo { let isLayoutFullScreen: boolean = true; let mainWindow = this.windowUtil!.getMainWindow(); isLayoutFullScreen = mainWindow!.getWindowProperties().isLayoutFullScreen; - // Subtract the width and height of the window in the 2in1 device. + // Subtract the width and height of the window in the PC/2in1 device. if (deviceInfo.deviceType === CommonConstants.DEVICE_TYPE && !isLayoutFullScreen) { dialogYOffset -= HomeConstants.WINDOW_UNDEFINED_TOP; rectLeft -= HomeConstants.WINDOW_UNDEFINED_LEFT; -- Gitee