[Bf-blender-cvs] [a19b54a1c2d] greasepencil-object: Changed panel back color

Antonio Vazquez noreply at git.blender.org
Sun Jan 14 14:41:47 CET 2018


Commit: a19b54a1c2d2738af362b3fccd5fc1c5463418bd
Author: Antonio Vazquez
Date:   Sun Jan 14 14:41:40 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBa19b54a1c2d2738af362b3fccd5fc1c5463418bd

Changed panel back color

The panel back color makes the boxes more visible.

===================================================================

M	source/blender/editors/gpencil/gpencil_colorpick.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_colorpick.c b/source/blender/editors/gpencil/gpencil_colorpick.c
index 6055f2e09cd..7f14885a7d5 100644
--- a/source/blender/editors/gpencil/gpencil_colorpick.c
+++ b/source/blender/editors/gpencil/gpencil_colorpick.c
@@ -243,8 +243,8 @@ static void gpencil_draw_color_table(const bContext *UNUSED(C), tGPDpick *tgpk)
 	line[3] = 1.0f;
 
 	/* draw panel background */
-	UI_GetThemeColor4fv(TH_BACK, ink);
-	ink[3] = 0.9f;
+	UI_GetThemeColor4fv(TH_PANEL_BACK, ink);
+	ink[3] = 0.8f;
 	glEnable(GL_BLEND);
 	UI_draw_roundbox_4fv(true, tgpk->panel.xmin, tgpk->panel.ymin,
 						tgpk->panel.xmax, tgpk->panel.ymax,



More information about the Bf-blender-cvs mailing list