Hi,
I’m trying to extend the resizing tool to perform a function while resizing but i’m getting an error, ‘Cannot read property ‘size’ of undefined’.
this is the code (without the extra function):
var tool = diagram.toolManager.resizingTool;
tool.resize = function() {
go.ResizingTool.prototype.resize.call(tool);
};
any idea why it gives me the error?
Thanks,
Tim