diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2018-11-25 20:34:07 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2018-11-25 20:35:48 +0300 |
commit | 5e5db7db896fa6ef31736ca2e42f344c494c2e92 (patch) | |
tree | 9c2bf21c96f35d76bf8732c64b7b58dc92d0d0ac /source/blender/editors/interface/interface_panel.c | |
parent | b00963afc14978b2de7f2859525bf89612aa4aee (diff) |
UI: Disable font shadow in tabs
This was used to fake a 3D look, however that doesn't work well with the new,
flat style. It just made text appear blurry.
Diffstat (limited to 'source/blender/editors/interface/interface_panel.c')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 3197c4a2cbf..58dc5617202 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1914,10 +1914,6 @@ void UI_panel_category_draw_all(ARegion *ar, const char *category_id_active) ui_fontscale(&fstyle_points, aspect / (U.pixelsize * 1.1f)); BLF_size(fontid, fstyle_points, U.dpi); - BLF_enable(fontid, BLF_SHADOW); - BLF_shadow(fontid, 3, (const float[4]){1.0f, 1.0f, 1.0f, 0.25f}); - BLF_shadow_offset(fontid, -1, -1); - BLI_assert(UI_panel_category_is_visible(ar)); @@ -2100,8 +2096,6 @@ void UI_panel_category_draw_all(ARegion *ar, const char *category_id_active) BLF_disable(fontid, BLF_ROTATION); - BLF_disable(fontid, BLF_SHADOW); - if (fstyle->kerning == 1) { BLF_disable(fstyle->uifont_id, BLF_KERNING_DEFAULT); } |