Diffusion Krita c525fb02fb3a

Automatically avoid conflicts between color labels and system colors

Authored by dkazakov on Aug 14 2018, 3:40 PM.

Description

Automatically avoid conflicts between color labels and system colors

The default color label (label 0) uses QPalette::Highlight color,
so we need to walk through the list of predefined colors, calculate
the difference between the label and the highlight color and adjust
the label if needed.

Details

Committed
dkazakovAug 14 2018, 3:40 PM
Parents
R37:46c27f949e61: Make unit tests' names consistent
Branches
Unknown
Tags
Unknown