Added back infinite zoom scale up code

This commit is contained in:
Yousef Khadadeh 2025-12-31 16:30:56 +03:00
parent 108da82fd4
commit 85cc0c2457
26 changed files with 191 additions and 62 deletions

View file

@ -80,6 +80,13 @@ uint32_t DrawingProgramLayerListItem::get_component_count() const {
return layerData->components->size();
}
void DrawingProgramLayerListItem::scale_up(const WorldScalar& scaleUpAmount) {
if(folderData)
folderData->scale_up(scaleUpAmount);
else
layerData->scale_up(scaleUpAmount);
}
bool DrawingProgramLayerListItem::is_folder() const {
return folderData != nullptr;
}