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>2019-03-03 16:11:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-03 16:13:25 +0300
commit301494f94a7fba5100cdfa5d48491c1df82e235a (patch)
tree3aeca8cae6c50057a6348bf4065eb9d5a0d6e6d2 /source/blender/editors/space_view3d/view3d_gizmo_navigate.c
parenta7f5de75f80146f49dad24ef75c3f65199d9abc3 (diff)
UI: use grey for 3D view axis gizmo highlight
Using white with low alpha made it hard to use on a white background. Since the axes themselves highlight to white.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_navigate.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_gizmo_navigate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_navigate.c b/source/blender/editors/space_view3d/view3d_gizmo_navigate.c
index cd1bdab9500..037c0e53247 100644
--- a/source/blender/editors/space_view3d/view3d_gizmo_navigate.c
+++ b/source/blender/editors/space_view3d/view3d_gizmo_navigate.c
@@ -148,7 +148,8 @@ static void WIDGETGROUP_navigate_setup(const bContext *UNUSED(C), wmGizmoGroup *
if (i == GZ_INDEX_ROTATE) {
gz->color[3] = 0.0f;
- gz->color_hi[3] = 0.1f;
+ copy_v3_fl(gz->color_hi, 0.5f);
+ gz->color_hi[3] = 0.5f;
}
else {
uchar icon_color[3];
@@ -168,10 +169,8 @@ static void WIDGETGROUP_navigate_setup(const bContext *UNUSED(C), wmGizmoGroup *
}
UI_GetThemeColorShade3fv(TH_HEADER, color_tint, gz->color);
UI_GetThemeColorShade3fv(TH_HEADER, color_tint_hi, gz->color_hi);
-
}
-
/* may be overwritten later */
gz->scale_basis = (GIZMO_SIZE * GIZMO_MINI_FAC) / 2;
if (info->icon != 0) {