From 2d8db76a5ee60e9ed9bf62b344fd8cdacc3817a9 Mon Sep 17 00:00:00 2001 From: juliandescottes Date: Sat, 15 Sep 2012 23:44:28 +0200 Subject: [PATCH] Context menu needs to also be deactivated on the palette, to easily pick a previously used color as a secondary color. --- js/controller/DrawingController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/controller/DrawingController.js b/js/controller/DrawingController.js index 7aeeb7e3..7e300f26 100644 --- a/js/controller/DrawingController.js +++ b/js/controller/DrawingController.js @@ -60,7 +60,7 @@ body.mouseup($.proxy(this.onMouseup_, this)); // Deactivate right click: - this.container.contextmenu(this.onCanvasContextMenu_); + body.contextmenu(this.onCanvasContextMenu_); }; /**