/* eslint-disable */
function TopRotatingTool() { go.RotatingTool.call(this); } go.Diagram.inherit(TopRotatingTool, go.RotatingTool); /** @override */ TopRotatingTool.prototype.updateAdornments = function (part) { go.RotatingTool.prototype.updateAdornments.call(this, part); var adornment = part.findAdornment('Rotating'); if (adornment !== null) { adornment.location = part.rotateObject.getDocumentPoint(new go.Spot(0.5, 0, 0, -30)); // above middle top } }; /** @override */ TopRotatingTool.prototype.rotate = function (newangle) { go.RotatingTool.prototype.rotate.call(this, newangle + 90); }; // end of TopRotatingTool class export default TopRotatingTool;