Skip to content
Snippets Groups Projects

Pd canvas cleanup

Merged Jonathan Wilkes requested to merge pd_canvas-cleanup into master

This moves some global functions into the canvas_events closure.

It also creates an "init" method for the shared event listeners. Previously these were set when the page was loaded. This sometimes would cause a race between the nw.js "move" event (which can fire upon window load for some reason) and the patch registration routine which sets the canvas id. This meant that the "move" callback could send Pd a message with an undefined canvas id and cause an error.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading