From 61574038534a52bbabda2c8ff114281bef93a8bb Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Thu, 12 Nov 2015 00:14:17 -0500 Subject: [PATCH] remove debug messages for canvas and pd window zoom --- pd/nw/index.js | 2 -- pd/nw/pd_canvas.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/pd/nw/index.js b/pd/nw/index.js index 4237824b6..88dbacdf4 100644 --- a/pd/nw/index.js +++ b/pd/nw/index.js @@ -442,7 +442,6 @@ function nw_create_pd_window_menus () { label: l("menu.zoomin"), click: function () { gui.Window.get().zoomLevel += 1; - pdgui.post("zoom level is " + gui.Window.get().zoomLevel); }, key: "=", modifiers: "ctrl", @@ -453,7 +452,6 @@ function nw_create_pd_window_menus () { label: l("menu.zoomout"), click: function () { gui.Window.get().zoomLevel -= 1; - pdgui.post("zoom level is " + gui.Window.get().zoomLevel); }, key: "-", modifiers: "ctrl", diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js index ab0b5fd53..4c3154745 100644 --- a/pd/nw/pd_canvas.js +++ b/pd/nw/pd_canvas.js @@ -833,7 +833,6 @@ function nw_create_patch_window_menus(name) { var z = gui.Window.get().zoomLevel; if (z < 8) { z++; } gui.Window.get().zoomLevel = z; - pdgui.post("zoom level is " + gui.Window.get().zoomLevel); }, key: "=", modifiers: "ctrl", @@ -846,7 +845,6 @@ function nw_create_patch_window_menus(name) { var z = gui.Window.get().zoomLevel; if (z > -7) { z--; } gui.Window.get().zoomLevel = z; - pdgui.post("zoom level is " + gui.Window.get().zoomLevel); }, key: "-", modifiers: "ctrl", -- GitLab