UI: key binding draw code didn't set line-width
authorCampbell Barton <ideasman42@gmail.com>
Mon, 10 Sep 2018 21:46:06 +0000 (07:46 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 10 Sep 2018 23:20:02 +0000 (09:20 +1000)
source/blender/editors/interface/interface_icons_event.c

index fabf5f9bf48f0b67a7eb54bbb751fafb16ab0c63..598adcce87f4aa9a253dcbdc1501738c670238c1 100644 (file)
@@ -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(