Last change
on this file since 32723 was 32723, checked in by ak19, 5 years ago |
Complete redo and undo and fixed marker drawing bug
|
File size:
412 bytes
|
Line | |
---|
1 | All shapes = !==undefined
|
---|
2 | White Vertices = >=0 = !==undefined
|
---|
3 |
|
---|
4 | Dark Vertices = undefined
|
---|
5 |
|
---|
6 | ClearSelection (CS):
|
---|
7 | 1- Freezes vertices
|
---|
8 | 2- Deselects Shape
|
---|
9 |
|
---|
10 |
|
---|
11 |
|
---|
12 |
|
---|
13 | Prevents passage TO CS, give pass to dark vertices
|
---|
14 | if (e.vertex !== undefined){
|
---|
15 | clearSelection();
|
---|
16 |
|
---|
17 | Grants passage to CS, move white freeze dark
|
---|
18 | if (e.vertex == undefined){
|
---|
19 | clearSelection();
|
---|
20 |
|
---|
21 |
|
---|
22 | issues: an event is being registered twice |
---|
Note:
See
TracBrowser
for help on using the repository browser.