Disable resize for text, arrow and multiple selection

This commit is contained in:
Paulo Menezes 2020-01-04 15:36:29 -03:00
parent 79959cab34
commit 7ab0f26789

View file

@ -1157,7 +1157,6 @@ class App extends React.Component<{}, AppState> {
isResizingElements = true; isResizingElements = true;
} else { } else {
let hitElement = null; let hitElement = null;
// We need to to hit testing from front (end of the array) to back (beginning of the array) // We need to to hit testing from front (end of the array) to back (beginning of the array)
for (let i = elements.length - 1; i >= 0; --i) { for (let i = elements.length - 1; i >= 0; --i) {
if (hitTest(elements[i], x, y)) { if (hitTest(elements[i], x, y)) {