Skip to content

Commit

Permalink
Use Viewport's default texture filter/repeat in GUI tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
kleonc committed Mar 5, 2025
1 parent b246560 commit 91170d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scene/main/viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,8 @@ void Viewport::_gui_show_tooltip() {
panel->set_flag(Window::FLAG_POPUP, false);
panel->set_flag(Window::FLAG_MOUSE_PASSTHROUGH, true);
panel->set_wrap_controls(true);
panel->set_default_canvas_item_texture_filter(get_default_canvas_item_texture_filter());
panel->set_default_canvas_item_texture_repeat(get_default_canvas_item_texture_repeat());
panel->add_child(base_tooltip);
panel->gui_parent = this;

Expand Down

0 comments on commit 91170d0

Please sign in to comment.