Skip to content

Commit

Permalink
Remove two debugging messages from pd_canvas.js.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
agraef committed Aug 11, 2022
1 parent f6478ed commit d283e5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pd/nw/pd_canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit d283e5e

Please sign in to comment.