You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Tooltips: Fix unassigned strip_edges() call on text
Fixes #43940, was a regression from #43280.
This commit is contained in:
@@ -1538,7 +1538,7 @@ void Viewport::_gui_show_tooltip() {
|
||||
gui.tooltip_control,
|
||||
gui.tooltip_control->get_global_transform().xform_inv(gui.last_mouse_pos),
|
||||
&tooltip_owner);
|
||||
tooltip_text.strip_edges();
|
||||
tooltip_text = tooltip_text.strip_edges();
|
||||
if (tooltip_text.is_empty()) {
|
||||
return; // Nothing to show.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user