mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-01 20:49:47 +00:00
Fix deleting the "Pixel-perfect" checkbox from the "Spray Tool" (fix #4220)
This commit is contained in:
parent
921504937c
commit
024c266231
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2018-2023 Igara Studio S.A.
|
||||
// Copyright (C) 2018-2024 Igara Studio S.A.
|
||||
// Copyright (C) 2001-2018 David Capello
|
||||
//
|
||||
// This program is distributed under the terms of
|
||||
@ -2247,6 +2247,7 @@ void ContextBar::updateForTool(tools::Tool* tool)
|
||||
if (supportDynamics)
|
||||
m_dynamics->updateIconFromActiveToolPref();
|
||||
m_freehandBox->setVisible(isFreehand && (supportOpacity || hasSelectOptions));
|
||||
m_freehandAlgo->setVisible(!hasSprayOptions);
|
||||
m_toleranceLabel->setVisible(hasTolerance);
|
||||
m_tolerance->setVisible(hasTolerance);
|
||||
m_contiguous->setVisible(hasTolerance);
|
||||
|
Loading…
Reference in New Issue
Block a user