cant unmount

This commit is contained in:
Lu[ke] Wilson 2023-11-24 12:40:39 +00:00
parent 140018c6ef
commit 9b6ae6d756
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ export class LiveImageShapeUtil extends FrameShapeUtil {
}; };
} }
override canUnmount = () => false;
override toSvg(shape: TLFrameShape) { override toSvg(shape: TLFrameShape) {
const theme = getDefaultColorTheme({ const theme = getDefaultColorTheme({
isDarkMode: this.editor.user.getIsDarkMode(), isDarkMode: this.editor.user.getIsDarkMode(),