Added erase many and place many canvas undo

This commit is contained in:
Yousef Khadadeh 2026-01-04 16:50:47 +03:00
parent 2dec0ab2c5
commit 279801623d
7 changed files with 291 additions and 10 deletions

View file

@ -45,6 +45,10 @@ void CanvasComponentContainer::register_class(World& w) {
});
}
void CanvasComponentContainer::reassign_netobj_ids_call() {
compAllocator.reassign_ids();
}
std::unique_ptr<CanvasComponentContainer::CopyData> CanvasComponentContainer::get_data_copy() const {
auto toRet = std::make_unique<CanvasComponentContainer::CopyData>();
toRet->coords = coords;