[calligra] krita/ui/tool: don't show outline while in color picker

Dmitry Kazakov dimula73 at gmail.com
Thu Feb 16 06:36:20 UTC 2012


There is an even more severe bug now: try clicking the mouse several times
when the Ctrl is pressed only once. The color picker works only once.

-    else if(mode() == KisTool::HOVER_MODE &&
> +    else if(mode() == KisTool::SECONDARY_HOVER_MODE &&
>             (event->button() == Qt::LeftButton || event->button() ==
> Qt::RightButton) &&
>             event->modifiers() & Qt::ControlModifier &&
>             !specialModifierActive()) {
>

This is somehow connected with this line. Take care of the state
transitions.

-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20120216/2085d04e/attachment.html>


More information about the kimageshop mailing list