Commit f259b77c authored by Roman Haefeli's avatar Roman Haefeli
Browse files

clean out-of-boundary notes when unselecting

parent b6548920
......@@ -3068,9 +3068,7 @@ certain period.;
#X obj 29 565 s \$0.global.send;
#X obj 281 328 b;
#X obj 281 282 t a a;
#X obj 281 426 list trim;
#X obj 281 449 s \$0.global.send;
#X obj 281 403 list prepend note delete;
#N canvas 0 99 405 189 x->step 0;
#X obj 40 63 s \$0.convert.x->step.get;
#X obj 40 85 r \$0.convert.x->step;
......@@ -3122,6 +3120,7 @@ certain period.;
#X obj 390 227 == 1;
#X text 436 249 Shift-Click;
#X obj 425 228 r \$0.delete.on.click;
#X msg 281 386 note delete \$1;
#X connect 0 0 1 0;
#X connect 1 0 4 0;
#X connect 2 0 1 1;
......@@ -3133,8 +3132,8 @@ certain period.;
#X connect 7 0 8 0;
#X connect 8 0 3 0;
#X connect 8 1 9 0;
#X connect 9 0 38 0;
#X connect 10 0 39 0;
#X connect 9 0 36 0;
#X connect 10 0 37 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 13 0 16 0;
......@@ -3144,33 +3143,32 @@ certain period.;
#X connect 17 0 0 0;
#X connect 17 1 2 0;
#X connect 17 2 18 1;
#X connect 18 0 36 0;
#X connect 18 0 34 0;
#X connect 19 0 17 0;
#X connect 20 0 6 0;
#X connect 22 0 33 0;
#X connect 22 0 47 0;
#X connect 24 0 26 0;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 29 0 22 0;
#X connect 30 0 5 0;
#X connect 30 1 22 1;
#X connect 31 0 32 0;
#X connect 33 0 31 0;
#X connect 34 0 37 0;
#X connect 35 0 37 1;
#X connect 36 0 34 0;
#X connect 36 1 35 0;
#X connect 37 0 24 0;
#X connect 38 0 41 0;
#X connect 39 0 11 0;
#X connect 40 0 39 1;
#X connect 41 0 42 0;
#X connect 42 0 30 0;
#X connect 42 1 33 0;
#X connect 44 0 40 0;
#X connect 45 0 46 0;
#X connect 46 0 41 1;
#X connect 48 0 46 1;
#X connect 32 0 35 0;
#X connect 33 0 35 1;
#X connect 34 0 32 0;
#X connect 34 1 33 0;
#X connect 35 0 24 0;
#X connect 36 0 39 0;
#X connect 37 0 11 0;
#X connect 38 0 37 1;
#X connect 39 0 40 0;
#X connect 40 0 30 0;
#X connect 40 1 47 0;
#X connect 42 0 38 0;
#X connect 43 0 44 0;
#X connect 44 0 39 1;
#X connect 46 0 44 1;
#X connect 47 0 31 0;
#X restore 16 42 pd note.create/delete;
#N canvas 0 99 406 517 note.change.velocity 0;
#X obj 14 19 r \$0.note.send;
......@@ -3436,7 +3434,7 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X restore 16 191 pd note.unselect;
#N canvas 269 334 348 183 delete.selection 0;
#N canvas 269 367 348 183 delete.selection 0;
#X obj 11 27 r \$0.delete.selection;
#N canvas 371 289 393 275 get.selection 0;
#X obj 20 7 inlet;
......@@ -3592,7 +3590,7 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 39 0 40 0;
#X restore 244 65 pd move.selection;
#X restore 19 155 pd generate.events;
#N canvas 0 99 414 276 process.events 1;
#N canvas 0 99 414 276 process.events 0;
#N canvas 59 156 654 539 note.create 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
......@@ -3937,7 +3935,7 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 41 0 40 0;
#X connect 41 1 40 1;
#X restore 19 18 pd note.create;
#N canvas 166 553 345 548 note.delete 0;
#N canvas 166 586 345 548 note.delete 0;
#X obj 6 8 r \$0.global.receive;
#X obj 6 31 route note;
#X obj 6 54 route delete;
......@@ -4360,7 +4358,7 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 19 0 10 1;
#X connect 20 0 13 0;
#X restore 19 110 pd note.change.gid;
#N canvas 0 363 347 307 note.select 0;
#N canvas 0 396 347 307 note.select 0;
#N canvas 73 99 380 620 get.selected.ids 0;
#X obj 39 309 tabread \$0.step;
#X msg 39 90 1000;
......@@ -4620,22 +4618,81 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 11 1 7 0;
#X connect 12 0 7 0;
#X restore 19 228 pd dump;
#N canvas 0 289 347 307 note.unselect 0;
#N canvas 0 289 454 423 note.unselect 0;
#X obj 17 21 r \$0.global.receive;
#X obj 17 44 route note;
#X obj 17 193 s \$0.redraw;
#X msg 56 117 const 0;
#X obj 56 140 s \$0.marked;
#X obj 17 90 t b a b;
#X obj 17 163 del 0;
#X obj 17 233 s \$0.redraw;
#X msg 36 155 const 0;
#X obj 36 178 s \$0.marked;
#X obj 17 203 del 0;
#X obj 17 67 route unselect;
#N canvas 371 289 393 275 get.active 0;
#X obj 20 7 inlet;
#X msg 20 64 1000;
#X obj 20 87 until;
#X obj 20 30 t b b;
#X msg 75 62 0;
#X obj 20 110 f;
#X obj 100 119 + 1;
#X obj 20 229 outlet;
#X obj 20 179 pack f f;
#X obj 20 133 t a a a;
#X obj 20 202 route 1;
#X obj 20 156 tabread \$0.active;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 3 0 1 0;
#X connect 3 1 4 0;
#X connect 4 0 5 1;
#X connect 5 0 9 0;
#X connect 6 0 5 1;
#X connect 8 0 10 0;
#X connect 9 0 11 0;
#X connect 9 1 8 1;
#X connect 9 2 6 0;
#X connect 10 0 7 0;
#X connect 11 0 8 0;
#X restore 171 39 pd get.active;
#X obj 17 90 t b b b;
#X obj 171 68 t a a a, f 26;
#X obj 171 199 tabread \$0.step;
#X obj 247 96 tabread \$0.pitch;
#X obj 171 222 < 0;
#X obj 247 119 t a a;
#X obj 247 150 < 0;
#X obj 274 150 > 127;
#X obj 247 173 |;
#X obj 171 245 |;
#X text 164 15 Delete out-of-boundary notes when unselecting;
#X obj 171 275 pack f f, f 26;
#X obj 171 298 route 1;
#X obj 171 352 s \$0.global.send;
#X msg 171 326 note delete \$1;
#X connect 0 0 1 0;
#X connect 1 0 7 0;
#X connect 1 0 6 0;
#X connect 3 0 4 0;
#X connect 5 0 6 0;
#X connect 5 2 3 0;
#X connect 6 0 2 0;
#X connect 7 0 5 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 7 0 9 0;
#X connect 8 0 5 0;
#X connect 8 1 3 0;
#X connect 8 2 7 0;
#X connect 9 0 10 0;
#X connect 9 1 11 0;
#X connect 9 2 19 1;
#X connect 10 0 12 0;
#X connect 11 0 13 0;
#X connect 12 0 17 0;
#X connect 13 0 14 0;
#X connect 13 1 15 0;
#X connect 14 0 16 0;
#X connect 15 0 16 1;
#X connect 16 0 17 1;
#X connect 17 0 19 0;
#X connect 19 0 20 0;
#X connect 20 0 22 0;
#X connect 22 0 21 0;
#X restore 19 179 pd note.unselect;
#N canvas 32 193 648 531 note.change.pos 0;
#X obj 6 8 r \$0.global.receive;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment