Added back infinite zoom scale up code
This commit is contained in:
parent
108da82fd4
commit
85cc0c2457
26 changed files with 191 additions and 62 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue