diff options
author | crupest <crupest@outlook.com> | 2021-11-28 22:32:55 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-28 22:32:55 +0800 |
commit | 80096172330bc0148320384f4b01f3ea62e52c92 (patch) | |
tree | b67e57541189503861f4df0dd621a6b2fcec6c7d /src | |
parent | 48a70ee60683d6ced778ad82f4510975c74dc4c7 (diff) | |
download | cru-80096172330bc0148320384f4b01f3ea62e52c92.tar.gz cru-80096172330bc0148320384f4b01f3ea62e52c92.tar.bz2 cru-80096172330bc0148320384f4b01f3ea62e52c92.zip |
...
Diffstat (limited to 'src')
-rw-r--r-- | src/osx/gui/Window.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osx/gui/Window.mm b/src/osx/gui/Window.mm index fcbc5cb5..1a42f340 100644 --- a/src/osx/gui/Window.mm +++ b/src/osx/gui/Window.mm @@ -78,6 +78,8 @@ void OsxWindowPrivate::OnWindowDidResize() { draw_layer_ = CreateLayer(Convert(content_rect_.GetSize())); resize_event_.Raise(osx_window_->GetClientSize()); + + osx_window_->RequestRepaint(); } void OsxWindowPrivate::OnBecomeKeyWindow() { focus_event_.Raise(FocusChangeType::Gain); } |