mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-08 13:42:00 -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) {
|
if (!item.segment.selected) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// If the entire shape is selected, handles are hidden
|
||||||
|
if (item.item.fullySelected) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
@ -107,6 +111,10 @@ class ReshapeTool extends paper.Tool {
|
||||||
if (!item.segment.selected) {
|
if (!item.segment.selected) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// If the entire shape is selected, handles are hidden
|
||||||
|
if (item.item.fullySelected) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue