From c3d550514275ac66eac0e16dcd99ace8a58c2ea1 Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Thu, 11 Aug 2022 00:26:05 +0200
Subject: [PATCH] Remove two debugging messages from pd_canvas.js.

These were triggered when dragging the scrollbars. They have been around
since 2019-20, so they survived the entire pandemic. :) Discovered by
Jan, one of my students in a course this summer semester.
---
 pd/nw/pd_canvas.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js
index 443d35834..00cc64efa 100644
--- a/pd/nw/pd_canvas.js
+++ b/pd/nw/pd_canvas.js
@@ -977,7 +977,6 @@ var canvas_events = (function() {
                     canvas_events[canvas_events.get_previous_state()]();
                 },
                 "mousemove": function(evt) {
-			pdgui.post("moving the thingy");
                     if (evt.movementX != 0) {
                         //console.log("move: " + e.movementX);
                         var hscroll = document.getElementById("hscroll");
@@ -1016,7 +1015,6 @@ var canvas_events = (function() {
                     canvas_events[canvas_events.get_previous_state()]();
                 },
                 "mousemove": function(evt) {
-			pdgui.post("hello");
                     if (evt.movementY != 0) {
                         //console.log("move: " + e.movementY);
                         var vscroll = document.getElementById("vscroll");
-- 
GitLab