UNPKG

@wcardinal/wcardinal-geditor

Version:

WebGL-based graphic editor, tester and viewer for supervisory systems

20 lines 836 B
import { __extends } from "tslib"; import { ESnapperTargetValueType } from "@wcardinal/wcardinal-ui"; import { EThemeDefaultEditor } from "./e-theme-default-editor"; var EThemeDefaultEditorSnap = /** @class */ (function (_super) { __extends(EThemeDefaultEditorSnap, _super); function EThemeDefaultEditorSnap() { return _super !== null && _super.apply(this, arguments) || this; } EThemeDefaultEditorSnap.prototype.getListTargetItemLabel = function (value) { if (value.type === ESnapperTargetValueType.VERTICAL) { return "X: ".concat(value.position); } else { return "Y: ".concat(value.position); } }; return EThemeDefaultEditorSnap; }(EThemeDefaultEditor)); export { EThemeDefaultEditorSnap }; //# sourceMappingURL=e-theme-default-editor-snap.js.map