Blender Git Commit Log

Git Commits -> Revision c42a796

Revision c42a796 by Joshua Leung (master)
April 18, 2016, 12:42 (GMT)
Fix: Make it easier to tell if Color Swatches are greyed out or not

This commit makes disabled/inactive color swatches look more obviously disabled
by halving their alpha values. It is necessary because the results of
ui_widget_color_disabled() (which is usually used when disabling widgets)
get overwritten by the color filling code here.

To avoid confusion, the checkerboard background (when the color genuinely has
alpha) will still only show in those cases. That is, when disabled, color swatches
won't show the checkerboard unless the color actually has an alpha component if it
wasn't disabled.

Commit Details:

Full Hash: c42a796e9ff06d365ae2b41cd122e4bce026bf35
Parent Commit: 2aafadd
Lines Changed: +9, -0

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2022