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:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-09 13:57:51 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-09 13:57:51 +0300
commitce885edfee80c41838de3fe6446530f27cf4d77d (patch)
treee96781d7e9b2a8be7733e8587c8fbfbb128e4e2f
parentb24232ff349d8f3c6b1ee0712b138c933458ad37 (diff)
UI: Remove 1 pixel gap between panel header and background
-rw-r--r--source/blender/editors/interface/interface_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index 538f188c436..27afdcdd202 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -691,7 +691,7 @@ void ui_draw_aligned_panel(uiStyle *style, uiBlock *block, const rcti *rect, con
if (UI_GetThemeValue(TH_PANEL_SHOW_HEADER)) {
/* draw with background color */
immUniformThemeColor(TH_PANEL_HEADER);
- immRectf(pos, minx, headrect.ymin + 1, maxx, y);
+ immRectf(pos, minx, headrect.ymin, maxx, y);
immBegin(GWN_PRIM_LINES, 4);