layersAreSelectable method
Determines if layers are selectable based on the configuration and device type.
Implementation
bool layersAreSelectable(ProImageEditorConfigs configs) {
if (configs.layerInteraction.selectable ==
LayerInteractionSelectable.auto) {
return isDesktop;
}
return configs.layerInteraction.selectable ==
LayerInteractionSelectable.enabled;
}