Blender Git Commit Log

Git Commits -> Revision c9c2e88

February 6, 2018, 14:05 (GMT)
GP Color Picker: Highlight the color under the mouse

Previously, the color picker provided no feedback on which
color under the mouse would get applied when clicking.
It also wasn't that clear what the current active color
was.

This commit fixes this, making the UI feel more like a
standard Blender menu/popup, and less like a glitchy
non-interactive graphic, by drawing a highlight rect
behind the item currently under the mouse. By default,
the current/active color will be highlighted before
the mouse enters the panel.

Commit Details:

Full Hash: c9c2e888e28cc8f592bc24b97fb8c3ac9e93fa24
Parent Commit: 71c423f
Lines Changed: +55, -19

2 Modified Paths:

/source/blender/editors/gpencil/gpencil_colorpick.c (+53, -19) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021