diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index f1a1b713..076c8970 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -8,8 +8,8 @@ A release can be performed by calling the script "release.sh". This script is as Before you start the release process verify if the general build of open-bpmn is successful: - $ ./devi.sh build - $ ./devi.sh install + $ ./devi build + $ ./devi install Check current release status on npm: diff --git a/open-bpmn.glsp-client/open-bpmn-glsp/src/bpmn-select-listeners.tsx b/open-bpmn.glsp-client/open-bpmn-glsp/src/bpmn-select-listeners.tsx index 5b5a3c3e..4a822fda 100644 --- a/open-bpmn.glsp-client/open-bpmn-glsp/src/bpmn-select-listeners.tsx +++ b/open-bpmn.glsp-client/open-bpmn-glsp/src/bpmn-select-listeners.tsx @@ -52,14 +52,10 @@ export class BPMNElementSnapper implements ISnapper { snap(position: Point, element: GModelElement): Point { // default move 1x1... return { - // x: Math.round(position.x), - // y: Math.round(position.y) - // maybe the better snap behaviour... + // maybe the better snap behavior instead of round()... x: Math.floor(position.x), y: Math.floor(position.y) }; - - } }