Skip to content

Commit fee89c4

Browse files
authored
mode-tools.jsx -- add test function so I can improve it remotely
1 parent 23387e1 commit fee89c4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/containers/mode-tools.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ class ModeTools extends React.Component {
367367

368368
if (typeof specificOperation !== "string") specificOperation = "unite";
369369

370+
if (window.test) {
371+
window.test(selectedItems, topItem, specificOperation, this, setItemSelection);
372+
return
373+
}
370374
// unite the shapes together, creating a clone on top of the original
371375
const results = [];
372376
for (let i = 1; i < selectedItems.length; i++) {

0 commit comments

Comments
 (0)