image folder variable used consistently
This commit is contained in:
@@ -365,7 +365,7 @@ export class SelectorManager {
|
||||
r: gripRadius,
|
||||
stroke: '#22C',
|
||||
'stroke-width': 2,
|
||||
style: 'cursor:url(' + config_.imgPath + 'rotate.svg) 12 12, auto;'
|
||||
style: `cursor:url(${config_.imgPath}/rotate.svg) 12 12, auto;`
|
||||
}
|
||||
});
|
||||
this.selectorGripsGroup.append(this.rotateGrip);
|
||||
|
||||
@@ -804,7 +804,7 @@ class SvgCanvas {
|
||||
const removedElements = {};
|
||||
|
||||
// String with image URL of last loadable image
|
||||
let lastGoodImgUrl = curConfig.imgPath + 'logo.svg';
|
||||
let lastGoodImgUrl = `${curConfig.imgPath}/logo.svg`;
|
||||
// Boolean indicating whether or not a draw action has been started
|
||||
let started = false;
|
||||
// String with an element's initial transform attribute value
|
||||
|
||||
Reference in New Issue
Block a user