Fix bad popups offset in editor with single window off
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
This commit is contained in:
parent
ede7614fe2
commit
81efebb3a1
36 changed files with 96 additions and 83 deletions
|
|
@ -2590,7 +2590,7 @@ Control *Control::get_focus_owner() const {
|
|||
|
||||
void Control::warp_mouse(const Point2 &p_to_pos) {
|
||||
ERR_FAIL_COND(!is_inside_tree());
|
||||
get_viewport()->warp_mouse(get_global_transform().xform(p_to_pos));
|
||||
get_viewport()->warp_mouse(get_screen_transform().xform(p_to_pos));
|
||||
}
|
||||
|
||||
bool Control::is_text_field() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue