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 ffe1226 commit 60e918b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app-latest-build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1170,8 +1170,8 @@ DomainStoryElementFactory.prototype._getCustomElementSize = function (type) {
height: 30
},
[src_app_domain_entities_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.GROUP]: {
width: 525,
height: 275
width: 300,
height: 200
}
};
return shapes[type] || shapes.__default;
Expand Down Expand Up @@ -2067,11 +2067,11 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryRules, diagram_js_lib
DomainStoryRules.$inject = ["eventBus"];
DomainStoryRules.prototype.init = function () {
/**
* can a shape be created on target container?
* can a shape be created on target?
*/
function canCreate(shape, target) {
// allow creation just on groups
return isBackground(target) || isGroup(target);
// allow creation on canvas || allow groups on everything || allow everything on groups
return isBackground(target) || isGroup(shape) || isGroup(target);
}
this.addRule("elements.create", function (context) {
const elements = context.elements,
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 60e918b

Please sign in to comment.