Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit de026f0b authored by Michi Hirczy's avatar Michi Hirczy Committed by Jean-Baptiste Mardelle

Reset luma/lift/gain slider should not affect colorwheel

Differential revision: https://phabricator.kde.org/D18169
parent 3e079660
......@@ -173,7 +173,7 @@ void ColorWheel::mousePressEvent(QMouseEvent *event)
changeColor(colorForPoint(m_lastPoint));
} else {
NegQColor c;
c = NegQColor::fromRgbF(m_defaultValue/m_sizeFactor, m_defaultValue/m_sizeFactor, m_defaultValue/m_sizeFactor);
c = NegQColor::fromHsvF(m_color.hueF(), m_color.saturationF(), m_defaultValue/m_sizeFactor);
changeColor(c);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment