mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-10 20:20:46 -04:00
Examples: Convert Path#selected to Path#fullySelected where needed.
This commit is contained in:
parent
80245301e7
commit
f6fbccb7a2
4 changed files with 5 additions and 5 deletions
examples/Scripts
|
@ -34,12 +34,12 @@
|
|||
}
|
||||
|
||||
function onMouseDown(event) {
|
||||
path.selected = true;
|
||||
path.fullySelected = true;
|
||||
path.strokeColor = '#e08285';
|
||||
}
|
||||
|
||||
function onMouseUp(event) {
|
||||
path.selected = false;
|
||||
path.fullySelected = false;
|
||||
path.strokeColor = '#e4141b';
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue