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
|
|
@ -1283,7 +1283,8 @@ void EditorPropertyEasing::_drag_easing(const Ref<InputEvent> &p_ev) {
|
|||
}
|
||||
|
||||
if (mb->is_pressed() && mb->get_button_index() == MouseButton::RIGHT) {
|
||||
preset->set_position(easing_draw->get_screen_transform().xform(mb->get_position()));
|
||||
preset->set_position(easing_draw->get_screen_position() + mb->get_position());
|
||||
preset->reset_size();
|
||||
preset->popup();
|
||||
|
||||
// Ensure the easing doesn't appear as being dragged
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue