diff options
| author | Antonio Ospite <ao2@ao2.it> | 2018-10-30 16:17:09 +0000 |
|---|---|---|
| committer | Antonio Ospite <ao2@ao2.it> | 2018-11-01 17:22:44 +0000 |
| commit | 4b785ac22fc617aef70000be1d7385ef354d28e9 (patch) | |
| tree | 544812cfc875505829ea788f3c58c93b281d0835 /src/ui/tools/tool-base.cpp | |
| parent | CI: remove redundant "make test" (diff) | |
| download | inkscape-4b785ac22fc617aef70000be1d7385ef354d28e9.tar.gz inkscape-4b785ac22fc617aef70000be1d7385ef354d28e9.zip | |
SPKnot::SPKnot(): improve color style of selected knots
Starting from commit ff04a08000 (working on knots selection, 2017-07-01)
it is possible to select knots for shapes, but the selection style can
be confusing.
The current default colors for knots states are:
NORMAL -> white
MOUSEOVER -> red
DRAGGING -> blue
SELECTED -> red
Using the same color for the MOUSEOVER and SELECTED states looks like
a contradiction considering that the former is an instantaneous
indicator while the latter represents a more persistent state.
MOUSEOVER and DRAGGING are more similar (in either state the mouse
button is pressed), so switch to the following style:
NORMAL -> white
MOUSEOVER -> red
DRAGGING -> red
SELECTED -> blue
The new style also matches what path nodes look like.
Diffstat (limited to 'src/ui/tools/tool-base.cpp')
0 files changed, 0 insertions, 0 deletions
