mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 13:21:34 +00:00
Don't show symmetry line if Editor::kShowSymmetryLine flag isn't present (fix #851)
This commit is contained in:
parent
6889b08090
commit
aa28f6d65c
@ -633,7 +633,9 @@ void Editor::drawSpriteUnclippedRect(ui::Graphics* g, const gfx::Rect& _rc)
|
||||
}
|
||||
|
||||
// Symmetry mode
|
||||
if (Preferences::instance().symmetryMode.enabled()) {
|
||||
if (isActive() &&
|
||||
(m_flags & Editor::kShowSymmetryLine) &&
|
||||
Preferences::instance().symmetryMode.enabled()) {
|
||||
switch (docPref.symmetry.mode()) {
|
||||
case app::gen::SymmetryMode::NONE:
|
||||
// Do nothing
|
||||
|
Loading…
x
Reference in New Issue
Block a user