@plait/core 0.2.0-next.2 → 0.2.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/element/context-change.d.ts +6 -6
- package/core/element/context.d.ts +2 -2
- package/core/element/plugin-element.d.ts +9 -9
- package/esm2020/core/element/context-change.mjs +1 -1
- package/esm2020/core/element/context.mjs +1 -1
- package/esm2020/core/element/plugin-element.mjs +1 -1
- package/esm2020/utils/draw/rectangle.mjs +2 -2
- package/fesm2015/plait-core.mjs +1 -1
- package/fesm2015/plait-core.mjs.map +1 -1
- package/fesm2020/plait-core.mjs +1 -1
- package/fesm2020/plait-core.mjs.map +1 -1
- package/interfaces/element.d.ts +2 -1
- package/package.json +1 -1
- package/styles/styles.scss +1 -1
package/fesm2020/plait-core.mjs
CHANGED
|
@@ -1164,7 +1164,7 @@ function drawRoundRectangle(rs, x1, y1, x2, y2, options, outline = false, border
|
|
|
1164
1164
|
function drawAbstractRoundRectangle(rs, x1, y1, x2, y2, isHorizontal, options) {
|
|
1165
1165
|
const width = Math.abs(x1 - x2);
|
|
1166
1166
|
const height = Math.abs(y1 - y2);
|
|
1167
|
-
const radius =
|
|
1167
|
+
const radius = 5;
|
|
1168
1168
|
const handleGap = 4;
|
|
1169
1169
|
const handleLength = 10;
|
|
1170
1170
|
const handleSpace = handleLength + handleGap * 2;
|