fix access to images for the minimal demo
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<title>Minimal demo of SvgCanvas</title>
|
<title>Minimal demo of SvgCanvas</title>
|
||||||
<script src="../src/editor/jquery.min.js"></script>
|
<script src="../src/editor/jquery.min.js"></script>
|
||||||
<style> #svgroot { overflow: hidden; } </style>
|
<style> #svgroot { overflow: hidden; } </style>
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="../src/editor/images/logo.png" />
|
<link rel="shortcut icon" type="image/x-icon" href="../src/editor/images/logo.svg" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -37,7 +37,7 @@ const config = {
|
|||||||
initStroke: { color: '000000', opacity: 1, width: 1 },
|
initStroke: { color: '000000', opacity: 1, width: 1 },
|
||||||
text: { stroke_width: 0, font_size: 24, font_family: 'serif' },
|
text: { stroke_width: 0, font_size: 24, font_family: 'serif' },
|
||||||
initOpacity: 1,
|
initOpacity: 1,
|
||||||
imgPath: 'editor/images/',
|
imgPath: '../src/editor/images/',
|
||||||
dimensions: [ width, height ],
|
dimensions: [ width, height ],
|
||||||
baseUnit: 'px'
|
baseUnit: 'px'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user