fix package example
This commit is contained in:
parent
4953828d86
commit
2e8c4d25f2
@ -316,7 +316,6 @@ export const actionErase = register({
|
|||||||
activeTool.lastActiveToolBeforeEraser = appState.activeTool.type;
|
activeTool.lastActiveToolBeforeEraser = appState.activeTool.type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
debugger;
|
|
||||||
if (isEraserActive(appState)) {
|
if (isEraserActive(appState)) {
|
||||||
if (appState.activeTool.lastActiveToolBeforeEraser) {
|
if (appState.activeTool.lastActiveToolBeforeEraser) {
|
||||||
if (
|
if (
|
||||||
|
@ -10,12 +10,12 @@ import { MIME_TYPES } from "../../../constants";
|
|||||||
// This is so that we use the bundled excalidraw.development.js file instead
|
// This is so that we use the bundled excalidraw.development.js file instead
|
||||||
// of the actual source code
|
// of the actual source code
|
||||||
const {
|
const {
|
||||||
|
Excalidraw,
|
||||||
exportToCanvas,
|
exportToCanvas,
|
||||||
exportToSvg,
|
exportToSvg,
|
||||||
exportToBlob,
|
exportToBlob,
|
||||||
sceneCoordsToViewportCoords,
|
sceneCoordsToViewportCoords,
|
||||||
} = window.Excalidraw;
|
} = window.ExcalidrawLib;
|
||||||
const Excalidraw = window.Excalidraw.default;
|
|
||||||
|
|
||||||
const STAR_SVG = (
|
const STAR_SVG = (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
|
||||||
|
@ -9,7 +9,7 @@ const devServerConfig = {
|
|||||||
},
|
},
|
||||||
// Server Configuration options
|
// Server Configuration options
|
||||||
devServer: {
|
devServer: {
|
||||||
port: 3001,
|
//port: 3001,
|
||||||
host: "localhost",
|
host: "localhost",
|
||||||
hot: true,
|
hot: true,
|
||||||
compress: true,
|
compress: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user