mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
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:
parent
38f9a55b59
commit
98230889ab
|
@ -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' );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue