1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

FontEditor: Don't add ineffectual glyph moves to the undo stack

And fix effectual glyph paints failing to create new undo events when
beginning at unmodifiable cells but mousing to settable ones.
This commit is contained in:
thankyouverycool 2023-06-08 07:45:06 -04:00 committed by Andreas Kling
parent 0d8d7ae94e
commit 9b431bc2ab
2 changed files with 9 additions and 6 deletions

View file

@ -63,6 +63,7 @@ private:
u8 m_movable_bits[Gfx::GlyphBitmap::max_width() * 3][Gfx::GlyphBitmap::max_height() * 3] {};
Mode m_mode { Paint };
bool m_is_clicking_valid_cell { false };
bool m_is_altering_glyph { false };
};
}