Revision 787f79e8cfbd379bd758e0fdf514303bb573c54c authored by Willem Sonke on 08 June 2022, 22:26:36 UTC, committed by Willem Sonke on 08 June 2022, 22:26:36 UTC
This is necessary because there is a special case where the chain move considered could try to move the connector of the chunk. This can happen for vertical chain moves when the connector is at the top-left corner of the chunk, or for horizontal chain moves when the connector is at the bottom-right corner. This used to cause a crash as preserveChunkiness() assumes this should not happen and throws. In these cases a chain move is simply not possible, so we return null and this adequately solves the issue.
1 parent d89b294
File | Mode | Size |
---|---|---|
dist | ||
src | ||
.gitignore | -rw-r--r-- | 21 bytes |
README.md | -rw-r--r-- | 561 bytes |
icons.ipe | -rw-r--r-- | 15.7 KB |
package-lock.json | -rw-r--r-- | 600.5 KB |
package.json | -rw-r--r-- | 805 bytes |
tsconfig.json | -rw-r--r-- | 162 bytes |
webpack.config.js | -rw-r--r-- | 699 bytes |
Computing file changes ...