Fixed bug where color in color picker was not updated properly
This commit is contained in:
committed by
borgmanJeremy
parent
9af391b2e9
commit
ba461a0c25
@@ -112,7 +112,8 @@ void ColorPicker::mouseMoveEvent(QMouseEvent* e)
|
||||
{
|
||||
for (int i = 0; i < m_colorList.size(); ++i) {
|
||||
if (m_colorAreaList.at(i).contains(e->pos())) {
|
||||
emit colorSelected(m_colorList.at(i));
|
||||
m_drawColor = m_colorList.at(i);
|
||||
emit colorSelected(m_drawColor);
|
||||
update();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user