|
@@ -12,6 +12,9 @@ import { delImage, addCollection, updateCollection } from '@/services/api';
|
|
|
import { baseVer } from '@/services/upgrade';
|
|
|
import { debounce } from './debouce';
|
|
|
import { deepClone, isDomShapes } from '@meta2d/core';
|
|
|
+import { useSelection } from '@/services/selections';
|
|
|
+
|
|
|
+const { select } = useSelection();
|
|
|
|
|
|
const assets = reactive({
|
|
|
home: 'https://le5le.com',
|
|
@@ -492,6 +495,7 @@ export const blank = async (save = true) => {
|
|
|
save && autoSave(true);
|
|
|
dot.value = false;
|
|
|
meta2d.open({ pens: [] } as any);
|
|
|
+ select();
|
|
|
};
|
|
|
|
|
|
export const newFile = () => {
|