1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Apply transform for LineEdit, RichTextLabel, and TextEdit popup positions

This commit is contained in:
dugramen
2025-03-05 15:41:12 -05:00
parent 134da37497
commit ad812cf29d
3 changed files with 5 additions and 5 deletions

View File

@@ -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();