fix access to images for the minimal demo
parent
09ce034f5a
commit
aa50c30610
|
@ -5,7 +5,7 @@
|
|||
<title>Minimal demo of SvgCanvas</title>
|
||||
<script src="../src/editor/jquery.min.js"></script>
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -37,7 +37,7 @@ const config = {
|
|||
initStroke: { color: '000000', opacity: 1, width: 1 },
|
||||
text: { stroke_width: 0, font_size: 24, font_family: 'serif' },
|
||||
initOpacity: 1,
|
||||
imgPath: 'editor/images/',
|
||||
imgPath: '../src/editor/images/',
|
||||
dimensions: [ width, height ],
|
||||
baseUnit: 'px'
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue