Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-11 00:46:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-11 02:20:02 +0300
commit406554c4db7bfa40a43c5b62e2c37c74cb1f6125 (patch)
treefb3a7040962b6f77b22cfb46f55e82a1268c29cb /source/blender/editors/interface/interface_icons_event.c
parenta1dda992c0bfb925553abc953761eb2a8bbff419 (diff)
UI: key binding draw code didn't set line-width
Diffstat (limited to 'source/blender/editors/interface/interface_icons_event.c')
-rw-r--r--source/blender/editors/interface/interface_icons_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_icons_event.c b/source/blender/editors/interface/interface_icons_event.c
index fabf5f9bf48..598adcce87f 100644
--- a/source/blender/editors/interface/interface_icons_event.c
+++ b/source/blender/editors/interface/interface_icons_event.c
@@ -162,6 +162,7 @@ void icon_draw_rect_input(
{
float color[4];
const float margin[2] = {w / 20.0f, h / 20.0f};
+ GPU_line_width(1.0f);
UI_GetThemeColor4fv(TH_TEXT, color);
UI_draw_roundbox_corner_set(UI_CNR_ALL);
UI_draw_roundbox_aa(