@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
14 lines • 767 B
JavaScript
import { __extends } from "tslib";
import { ECommandShapePropertyCapability } from "./e-command-shape-property-capability";
var ECommandShapePropertyCapabilityUnlock = /** @class */ (function (_super) {
__extends(ECommandShapePropertyCapabilityUnlock, _super);
function ECommandShapePropertyCapabilityUnlock() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandShapePropertyCapabilityUnlock.prototype.initProperty = function (shape, capability, property) {
shape.capability.locked &= ~property;
};
return ECommandShapePropertyCapabilityUnlock;
}(ECommandShapePropertyCapability));
export { ECommandShapePropertyCapabilityUnlock };
//# sourceMappingURL=e-command-shape-property-capability-unlock.js.map