|
@@ -2,14 +2,11 @@ import { dataService } from "../Service/DataService.js";
|
|
|
import { stateService } from "../Service/StateService.js";
|
|
|
import { coordinate } from "../Coordinate.js";
|
|
|
import Style from "@/graphic/CanvasStyle/index.js";
|
|
|
-import VectorType from "../enum/VectorType.js";
|
|
|
import { mathUtil } from "../Util/MathUtil.js";
|
|
|
-import ElementEvents from "../enum/ElementEvents.js";
|
|
|
import { elementService } from "../Service/ElementService.js";
|
|
|
import UIEvents from "@/graphic/enum/UIEvents.js";
|
|
|
import VectorCategory from "@/graphic/enum/VectorCategory.js";
|
|
|
import Settings from "@/graphic/Settings.js";
|
|
|
-import { Canvg } from "canvg";
|
|
|
import SVGIcons from "../CanvasStyle/ImageLabels/SVGIcons";
|
|
|
|
|
|
const imgCache = {};
|
|
@@ -766,7 +763,7 @@ export default class Draw {
|
|
|
this.context.scale(width / svgWidth, height / svgHidth);
|
|
|
const [style] = help.setVectorStyle(this.context, vector);
|
|
|
this.context.lineWidth = style.lineWidth / (width / svgWidth);
|
|
|
- SVGIcons.keche_plane.draw(this.context);
|
|
|
+ SVGIcons['chemotuoche_p.svg'].draw(this.context);
|
|
|
|
|
|
if (import.meta.env.DEV) {
|
|
|
this.context.restore();
|