diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2020-03-06 00:23:28 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2020-03-06 00:23:28 +0300 |
commit | eed1beff88afbf84d37aa2ceef62501ec3888bed (patch) | |
tree | 7e39f8ebf5ac07eae36afd7dd9b5ed8e8017a9ef /source/blender/editors/space_file/file_draw.c | |
parent | 38d6533f212bf9001cd5f70ed8757eccb9b39dad (diff) |
UI: Using Consistent Font Icon in File Browser
Use only one font icon in File Browser for all platforms. Correct mistake to allow this icon to be used.
Differential Revision: https://developer.blender.org/D7037
Reviewed by Brecht Van Lommel
Diffstat (limited to 'source/blender/editors/space_file/file_draw.c')
-rw-r--r-- | source/blender/editors/space_file/file_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c index 1739c15cbc6..db29d058e49 100644 --- a/source/blender/editors/space_file/file_draw.c +++ b/source/blender/editors/space_file/file_draw.c @@ -313,7 +313,7 @@ static void file_draw_preview(uiBlock *block, GPU_blend_set_func_separate( GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA); - if (icon && (icon != ICON_FILE_FONT)) { + if (icon && !(typeflags & FILE_TYPE_FTFONT)) { /* size of center icon is scaled to fit container and UI scale */ float icon_x, icon_y; |