mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
--Bug fixes
-Do not reset rendering process when arrow is double clicked in the palette editor, because nothing has changed.
This commit is contained in:
parent
d6b112dd32
commit
74a371e567
@ -90,7 +90,8 @@ void ColorPickerWidget::OnColorViewerClicked()
|
|||||||
void ColorPickerWidget::OnTriangleColorChanged(const QColor& col)
|
void ColorPickerWidget::OnTriangleColorChanged(const QColor& col)
|
||||||
{
|
{
|
||||||
if (col.isValid())
|
if (col.isValid())
|
||||||
|
{
|
||||||
m_ColorPanel->Color(col);
|
m_ColorPanel->Color(col);
|
||||||
|
emit ColorChanged(col);
|
||||||
emit ColorChanged(col);
|
}
|
||||||
}
|
}
|
||||||
|
@ -240,7 +240,9 @@ void PaletteEditor::OnColorPickerColorChanged(const QColor& col)
|
|||||||
/// <param name="arrow">The arrow which was double clicked on</param>
|
/// <param name="arrow">The arrow which was double clicked on</param>
|
||||||
void PaletteEditor::OnArrowDoubleClicked(const GradientArrow& arrow)
|
void PaletteEditor::OnArrowDoubleClicked(const GradientArrow& arrow)
|
||||||
{
|
{
|
||||||
|
blockSignals(true);//Do not update main window when Sync is checked because selecting an arrow as the main color doesn't actually change anything.
|
||||||
m_ColorPicker->SetColorPanelColor(arrow.Color());
|
m_ColorPicker->SetColorPanelColor(arrow.Color());
|
||||||
|
blockSignals(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user