已合并
修复旋转后,仅能触控半屏 #17079
修复旋转后,仅能触控半屏 #17079
已合并
chbchb12创建于 2025年12月4日
共 1 个文件变更+1-1
@@ -167,7 +167,7 @@ void InputWindowMonitor::ConstructScreenInfos(std::vector<MMI::DisplayInfo>& dis
167 screenInfo.screenType = MMI::ScreenType::REAL;167 screenInfo.screenType = MMI::ScreenType::REAL;
168 screenInfo.width = displayInfo.width;168 screenInfo.width = displayInfo.width;
169 screenInfo.height = displayInfo.height;169 screenInfo.height = displayInfo.height;
170- screenInfo.tpDirection = displayInfo.direction;170+ screenInfo.tpDirection = MMI::DIRECTION0;
171 screenInfo.dpi = displayInfo.dpi;171 screenInfo.dpi = displayInfo.dpi;
172 screenInfo.rotation = static_cast<MMI::Rotation>(displayInfo.direction);172 screenInfo.rotation = static_cast<MMI::Rotation>(displayInfo.direction);
173 screenInfos.emplace_back(screenInfo);173 screenInfos.emplace_back(screenInfo);