summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-10-10 10:32:41 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-10-10 10:32:41 +0300
commit73430f292b8c0b3803c7d346195ec1cdffd194b8 (patch)
tree9fe51c7c236623efa303c03ff16cb5e3f020196c /servers
parentca25c6e0a3f25948ee4a197f3442c66f019e7424 (diff)
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
Diffstat (limited to 'servers')
-rw-r--r--servers/display_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/display_server.h b/servers/display_server.h
index 8eafccc040..31ebf12531 100644
--- a/servers/display_server.h
+++ b/servers/display_server.h
@@ -382,7 +382,7 @@ public:
virtual void window_move_to_foreground(WindowID p_window = MAIN_WINDOW_ID) = 0;
virtual void window_set_window_buttons_offset(const Vector2i &p_offset, WindowID p_window = MAIN_WINDOW_ID) {}
- virtual Vector2i window_get_safe_title_margins(WindowID p_window = MAIN_WINDOW_ID) const { return Vector2i(); }
+ virtual Vector3i window_get_safe_title_margins(WindowID p_window = MAIN_WINDOW_ID) const { return Vector3i(); }
virtual bool window_can_draw(WindowID p_window = MAIN_WINDOW_ID) const = 0;