From 6f1f7296f4cf69602f599dda92e0590593f4cc62 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Sep 2018 13:52:19 +1000 Subject: UI: show a small label next to the tool Instead of showing the full tip immediately when hovering over a tool, show only the (label, shortcut), without suppressing the regular tip. --- source/blender/editors/interface/interface_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/interface/interface_query.c') diff --git a/source/blender/editors/interface/interface_query.c b/source/blender/editors/interface/interface_query.c index ba4fdf43875..81c2872c1d6 100644 --- a/source/blender/editors/interface/interface_query.c +++ b/source/blender/editors/interface/interface_query.c @@ -96,7 +96,7 @@ bool UI_but_is_tool(const uiBut *but) return false; } -bool UI_but_is_tooltip_no_overlap(const uiBut *but) +bool UI_but_has_tooltip_label(const uiBut *but) { if (!ui_block_is_popover(but->block)) { return UI_but_is_tool(but); -- cgit v1.2.3