Skip to content

Commit

Permalink
Deploy latest build
Browse files Browse the repository at this point in the history
  • Loading branch information
egon-development committed Jan 27, 2025
1 parent d6a3141 commit ffe1226
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions app-latest-build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,15 @@ DomainStoryRules.prototype.init = function () {
this.addRule("elements.move", HIGH_PRIORITY, function (context) {
let target = context.target,
shapes = context.shapes;
// The idea of this code is to make sure that if any of the selected shapes cannot be moved,
// then the whole selection cannot be moved. However, it actually only checks
// if the shape that is under the mouse cursor is over another shape.
// This is probably enough as a full detection over overlapping shapes might make it hard
// to move large selections
return (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.reduce)(shapes, function (result, s) {
if (result === false) {
return false;
}
return canCreate(s, target);
}, undefined);
});
Expand Down
2 changes: 1 addition & 1 deletion app-latest-build/main.js.map

Large diffs are not rendered by default.

0 comments on commit ffe1226

Please sign in to comment.