mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Resizeable node updates context after mouse up"
This commit is contained in:
commit
06ee5b8e96
|
@ -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
|
// user doesn't perform a drag
|
||||||
this.root.getSurface().getSurface().getContext().show();
|
this.root.getSurface().getSurface().getContext().update();
|
||||||
|
|
||||||
this.emit( 'resize' );
|
this.emit( 'resize' );
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue