mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
Add back caveat for fully selected shapes, since code to remove handles when a shape is fully selected is in the paper fork we are using
This commit is contained in:
parent
7705be1ce0
commit
946b6b0d87
1 changed files with 8 additions and 0 deletions
|
@ -96,6 +96,10 @@ class ReshapeTool extends paper.Tool {
|
|||
if (!item.segment.selected) {
|
||||
return false;
|
||||
}
|
||||
// If the entire shape is selected, handles are hidden
|
||||
if (item.item.fullySelected) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
@ -107,6 +111,10 @@ class ReshapeTool extends paper.Tool {
|
|||
if (!item.segment.selected) {
|
||||
return false;
|
||||
}
|
||||
// If the entire shape is selected, handles are hidden
|
||||
if (item.item.fullySelected) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue