mirror of https://github.com/aseprite/aseprite.git
Hide zig zag checkbox when not dithering
This commit is contained in:
parent
8d0fa49044
commit
f5ecead66f
|
@ -374,6 +374,7 @@ private:
|
|||
if (m_ditheringSelector) {
|
||||
const bool toIndexed = (dstColorMode == doc::ColorMode::INDEXED);
|
||||
m_ditheringSelector->setVisible(toIndexed);
|
||||
m_zigZagCheck->setVisible(toIndexed);
|
||||
|
||||
const bool errorDiff =
|
||||
(render::DitheringAlgorithmIsDiffusion(m_ditheringSelector->ditheringAlgorithm()));
|
||||
|
|
Loading…
Reference in New Issue