Fix bugs with history setup.

This commit is contained in:
2026-09-03 06:59:55 +01:00
parent 956bdd6039
commit 33dc9ad507
3 changed files with 22 additions and 16 deletions
+2 -4
View File
@@ -14,10 +14,8 @@ struct HistoryItem {
struct GenericBuffer : ShardBuffer {
uint64_t base_version{0};
std::chrono::system_clock::time_point timestamp{
std::chrono::system_clock::now()
};
std::string action{"created"};
std::chrono::system_clock::time_point timestamp;
std::string action;
std::filesystem::path save_path{};
std::vector<HistoryItem> undo_stack;
std::vector<HistoryItem> redo_stack;