mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-22 21:16:40 -04:00
修复层叠窗口获取大小bug
Signed-off-by: xingyanan <xingyanan2@huawei.com> Change-Id: I710d66d6c15f56bdac8573c6826a87c952ca7dcd
This commit is contained in:
@@ -374,7 +374,7 @@ Rect WindowLayoutPolicyCascade::GetCurCascadeRect(const sptr<WindowNode>& node)
|
||||
WLOGFI("GetCurCascadeRect id: %{public}d,", (*iter)->GetWindowId());
|
||||
if ((*iter)->GetWindowType() != WindowType::WINDOW_TYPE_DOCK_SLICE &&
|
||||
(*iter)->GetWindowId() != node->GetWindowId()) {
|
||||
auto property = node->GetWindowProperty();
|
||||
auto property = (*iter)->GetWindowProperty();
|
||||
if (property != nullptr) {
|
||||
cascadeRect = property->GetWindowRect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user