Merge pull request #56874 from MarioLiebisch/fix-56869

This commit is contained in:
Rémi Verschelde 2022-01-18 10:53:19 +01:00 committed by GitHub
commit 453f4dbe46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2348,7 +2348,7 @@ void Viewport::push_text_input(const String &p_text) {
}
Viewport::SubWindowResize Viewport::_sub_window_get_resize_margin(Window *p_subwindow, const Point2 &p_point) {
if (p_subwindow->get_flag(Window::FLAG_BORDERLESS)) {
if (p_subwindow->get_flag(Window::FLAG_BORDERLESS) || p_subwindow->get_flag(Window::FLAG_RESIZE_DISABLED)) {
return SUB_WINDOW_RESIZE_DISABLED;
}