You've already forked godot
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user