fix access to images for the minimal demo

master
JFH 2021-05-15 21:53:22 +02:00
parent 09ce034f5a
commit aa50c30610
1 changed files with 2 additions and 2 deletions

View File

@ -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'
};