diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-11-11 22:57:07 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-11-11 22:58:50 +0300 |
commit | 88e6341ce84851132ceba8407fb2c3058f34b6dd (patch) | |
tree | 6fb06bead34506701d4c8a8d7edda93ab0c223a6 /source/blender/editors/interface | |
parent | 40aa69e2eb6896f559153f48a83c870691f2f86a (diff) |
UI: Tooltips: dont add period to labels
These are generally only one or two word phrases and are not sentences.
This change slightly improves readability.
Note, the check when display labels:
```
Tip Label (only for buttons not already showing the label).
```
Could be improved here because there are a lot of false positives.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_region_tooltip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_region_tooltip.c b/source/blender/editors/interface/interface_region_tooltip.c index 5c3f00201a2..12f3ba609f0 100644 --- a/source/blender/editors/interface/interface_region_tooltip.c +++ b/source/blender/editors/interface/interface_region_tooltip.c @@ -800,7 +800,7 @@ static uiTooltipData *ui_tooltip_data_from_button(bContext *C, uiBut *but) .style = UI_TIP_STYLE_HEADER, .color_id = UI_TIP_LC_NORMAL, }); - field->text = BLI_sprintfN("%s.", but_label.strinfo); + field->text = BLI_sprintfN("%s", but_label.strinfo); } /* Tip */ |