diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-03-28 11:01:29 +0200 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-03-28 11:59:40 +0200 |
commit | ffe42171a52ad83a20e7c048cf92bcc84251c669 (patch) | |
tree | fe6118764f5946913329fe346425bc90ddd62482 /scene/main/window.h | |
parent | 795304e34f3f8ab5ee47bfc2ce09ef94cac0a113 (diff) |
Fix using Viewport::warp_mouse within Viewports
Diffstat (limited to 'scene/main/window.h')
-rw-r--r-- | scene/main/window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/window.h b/scene/main/window.h index 3d8e337b4a..f674f6425a 100644 --- a/scene/main/window.h +++ b/scene/main/window.h @@ -291,6 +291,8 @@ public: Ref<Font> get_theme_default_font() const; int get_theme_default_font_size() const; + virtual Transform2D get_screen_transform() const override; + Rect2i get_parent_rect() const; virtual DisplayServer::WindowID get_window_id() const override; |