mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Apply transform for LineEdit, RichTextLabel, and TextEdit popup positions
This commit is contained in:
parent
134da37497
commit
ad812cf29d
3 changed files with 5 additions and 5 deletions
|
|
@ -2189,7 +2189,7 @@ void RichTextLabel::gui_input(const Ref<InputEvent> &p_event) {
|
|||
|
||||
if (b->get_button_index() == MouseButton::RIGHT && context_menu_enabled) {
|
||||
_update_context_menu();
|
||||
menu->set_position(get_screen_position() + b->get_position());
|
||||
menu->set_position(get_screen_transform().xform(b->get_position()));
|
||||
menu->reset_size();
|
||||
menu->popup();
|
||||
grab_focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue