From 98230889ab04c4773edca01c9857d68e0666ac10 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 10 Oct 2013 13:34:54 +0100 Subject: [PATCH] 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 --- modules/ve/ce/ve.ce.ResizableNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ve/ce/ve.ce.ResizableNode.js b/modules/ve/ce/ve.ce.ResizableNode.js index 40371a88e8..3c402669ed 100644 --- a/modules/ve/ce/ve.ce.ResizableNode.js +++ b/modules/ve/ce/ve.ce.ResizableNode.js @@ -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' ); };