mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-21 04:25:28 -04:00
解决AbilityComponent 显示异常和点击位置不正确问题
Signed-off-by: binny1024 <xubinbin23@huawei.com>
This commit is contained in:
@@ -63,7 +63,7 @@ void WindowExtensionStubImpl::SetBounds(const Rect& rect)
|
||||
window_->Resize(rect.width_, rect.height_);
|
||||
}
|
||||
if (rect.posX_ != orgRect.posX_ || rect.posY_ != orgRect.posY_) {
|
||||
window_->MoveTo(orgRect.posX_, orgRect.posY_);
|
||||
window_->MoveTo(rect.posX_, rect.posY_);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user