diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-04 10:51:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 10:51:09 +0200 |
commit | 8ccb1cec915283f538eaf187592b850759a72a7b (patch) | |
tree | f3d64732e78a05712228605d33c457fce30ddef7 /scene | |
parent | 9cec315ec0aeb7a105a9b0828e437b7d508f6dc1 (diff) | |
parent | df968d577ac6d1bca223cdaec83940bfb36ade64 (diff) |
Merge pull request #40084 from bruvzg/macos_seamless_scaling
[macOS] Implement seamless display scaling.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/main/window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/window.cpp b/scene/main/window.cpp index 48540b7bc9..ae30972558 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -338,6 +338,7 @@ void Window::_event_callback(DisplayServer::WindowEvent p_event) { emit_signal("go_back_requested"); } break; case DisplayServer::WINDOW_EVENT_DPI_CHANGE: { + _update_viewport_size(); _propagate_window_notification(this, NOTIFICATION_WM_DPI_CHANGE); emit_signal("dpi_changed"); } break; |