Resizeable node updates context after mouse up

Was previously calling show(), which showed the context regardless
of whether one was required or not. Changed this to update().

Change-Id: I2c6c37b6b988cca60f3f3f2429476ab4b429184b
This commit is contained in:
Ed Sanders 2013-10-10 13:34:54 +01:00
parent 38f9a55b59
commit 98230889ab

View file

@ -290,9 +290,9 @@ ve.ce.ResizableNode.prototype.onDocumentMouseUp = function () {
);
}
// Show the context menu. This usually happens with the redraw, but not if the
// Update the context menu. This usually happens with the redraw, but not if the
// user doesn't perform a drag
this.root.getSurface().getSurface().getContext().show();
this.root.getSurface().getSurface().getContext().update();
this.emit( 'resize' );
};