mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-15 11:42:30 +00:00
Don't show custom brush options on Gradient tool
This commit is contained in:
parent
91c9cc29b0
commit
71b7ee12ec
@ -1692,10 +1692,10 @@ void ContextBar::updateForTool(tools::Tool* tool)
|
||||
|
||||
// Show/Hide fields
|
||||
m_zoomButtons->setVisible(needZoomButtons);
|
||||
m_brushType->setVisible(supportOpacity && (!isFloodfill || (isFloodfill && hasImageBrush)));
|
||||
m_brushType->setVisible(supportOpacity && (!isFloodfill || (isFloodfill && hasImageBrush && !withDithering)));
|
||||
m_brushSize->setVisible(supportOpacity && !isFloodfill && !hasImageBrush);
|
||||
m_brushAngle->setVisible(supportOpacity && !isFloodfill && !hasImageBrush && hasBrushWithAngle);
|
||||
m_brushPatternField->setVisible(supportOpacity && hasImageBrush);
|
||||
m_brushPatternField->setVisible(supportOpacity && hasImageBrush && !withDithering);
|
||||
m_inkType->setVisible(hasInk);
|
||||
m_inkOpacityLabel->setVisible(showOpacity);
|
||||
m_inkOpacity->setVisible(showOpacity);
|
||||
|
Loading…
x
Reference in New Issue
Block a user