#631 seButton web component image path load from config

This commit is contained in:
agriyadev5
2021-09-21 13:25:07 +05:30
parent 648e9cd26c
commit 4bacd1fd66
9 changed files with 77 additions and 134 deletions

View File

@@ -267,9 +267,11 @@ class LeftPanel {
$id("tool_fhrect").addEventListener("click", this.clickFHRect.bind(this));
$id("tool_ellipse").addEventListener("click", this.clickEllipse.bind(this));
$id("tool_circle").addEventListener("click", this.clickCircle.bind(this));
$id("tool_fhellipse").addEventListener(
"click",
this.clickFHEllipse.bind(this)
$id("tool_fhellipse").addEventListener("click", this.clickFHEllipse.bind(this));
// eslint-disable-next-line max-len
[ "tool_rect", "tool_square", "tool_fhrect", "tool_ellipse", "tool_circle", "tool_fhellipse", "tool_select", "tool_fhpath", "tool_text", "tool_image", "tool_zoom", "tool_path", "tool_line" ].forEach((attrId) =>
$id(attrId).init(this.editor)
);
}
}