[RTL] Fix meta hover area detection.

(cherry picked from commit 42e6cda14e)
This commit is contained in:
bruvzg 2024-03-04 22:06:16 +02:00 committed by Rémi Verschelde
parent b3fa724e9d
commit 147b99ae2a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -2239,6 +2239,7 @@ void RichTextLabel::gui_input(const Ref<InputEvent> &p_event) {
queue_redraw();
}
_find_click(main, m->get_position(), nullptr, nullptr, &c_item, nullptr, &outside, true);
Variant meta;
ItemMeta *item_meta;
if (c_item && !outside && _find_meta(c_item, &meta, &item_meta)) {