Can now undo/redo styles

This commit is contained in:
Yousef Khadadeh 2025-11-12 14:54:46 +03:00
parent 94438c7b97
commit b0b04a28c8
6 changed files with 79 additions and 20 deletions

View file

@ -83,8 +83,8 @@ class TextBox {
a(pos, selectionBeginPos, selectionEndPos);
}
std::optional<float> previousX;
bool operator==(const Cursor& o) const = default;
bool operator!=(const Cursor& o) const = default;
bool operator==(const Cursor& o) const;
bool operator!=(const Cursor& o) const;
};
struct PaintOpts {