mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +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:
parent
0d8d7ae94e
commit
9b431bc2ab
2 changed files with 9 additions and 6 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue