feat: 添加选择图层下所有对象的功能,优化图层交互性管理
This commit is contained in:
@@ -590,6 +590,8 @@ function handleLayerClick(layer, event) {
|
||||
// 否则直接设置当前图层为活动图层
|
||||
setActiveLayer(layer.id);
|
||||
layerManager?.updateLayersObjectsInteractivity();
|
||||
// 选中画布中的图层对象
|
||||
layerManager?.selectLayerObjects(layer.id);
|
||||
}
|
||||
}
|
||||
lastSelectedIndex.value = sortableRootLayers.value.findIndex((l) => l.id === layer.id);
|
||||
|
||||
Reference in New Issue
Block a user