#83 jquery convert to pure javascript changes (#84)

This commit is contained in:
Agriya Dev5
2021-03-16 14:30:40 +05:30
committed by GitHub
parent 6e1f7d2a07
commit c71284391b
20 changed files with 138 additions and 106 deletions

View File

@@ -23,7 +23,7 @@ export default {
async init (S) {
const svgEditor = this;
const {svgCanvas} = svgEditor;
const {$id} = svgCanvas;
const {$} = S; // {svgcontent},
let
selElems,
@@ -121,7 +121,7 @@ export default {
return Object.assign(contextTools[i], contextTool);
}),
callback () {
$('#star_panel').hide();
if($id("star_panel") !== null) $id("star_panel").style.display = 'none';
// const endChanges = function(){};
},
mouseDown (opts) {