diff --git a/docs/source/includes/tags/vectorlabels.md b/docs/source/includes/tags/vectorlabels.md index 57ce5a6c4d58..bbc30f480b37 100644 --- a/docs/source/includes/tags/vectorlabels.md +++ b/docs/source/includes/tags/vectorlabels.md @@ -15,7 +15,6 @@ | [pointStyle] | rectangle \| circle | rectangle | Style of points | | [snap] | pixel \| none | none | Snap vector to image pixels | | [closable] | boolean | false | Allow closed shapes | -| [curves] | boolean | false | Allow Bezier curves | | [skeleton] | boolean | false | Enables skeleton mode to allow branch paths | | [minPoints] | number \| none | none | Minimum allowed number of points | | [maxPoints] | number \| none | none | Maximum allowed number of points | diff --git a/web/libs/core/src/lib/utils/schema/tags.json b/web/libs/core/src/lib/utils/schema/tags.json index 1bf313a16328..85e7628ac02b 100644 --- a/web/libs/core/src/lib/utils/schema/tags.json +++ b/web/libs/core/src/lib/utils/schema/tags.json @@ -2844,13 +2844,6 @@ "required": false, "default": false }, - "curves": { - "name": "curves", - "description": "Allow Bezier curves", - "type": ["true", "false"], - "required": false, - "default": false - }, "skeleton": { "name": "skeleton", "description": "Enables skeleton mode to allow branch paths", diff --git a/web/libs/editor/src/regions/VectorRegion.jsx b/web/libs/editor/src/regions/VectorRegion.jsx index 967455fd80fe..603c0ebde680 100644 --- a/web/libs/editor/src/regions/VectorRegion.jsx +++ b/web/libs/editor/src/regions/VectorRegion.jsx @@ -674,7 +674,8 @@ const HtxVectorView = observer(({ item, suggestion }) => { transform={{ zoom: item.parent.stageZoom, offsetX, offsetY }} fitScale={item.parent.zoomScale} allowClose={item.control?.closable ?? false} - allowBezier={item.control?.curves ?? false} + // Temporarily disabled due to buggy behavior + // allowBezier={item.control?.curves ?? false} minPoints={item.minPoints} maxPoints={item.maxPoints} skeletonEnabled={item.control?.skeleton ?? false} diff --git a/web/libs/editor/src/tags/control/VectorLabels.jsx b/web/libs/editor/src/tags/control/VectorLabels.jsx index 7a27f674a683..1438d0a72da4 100644 --- a/web/libs/editor/src/tags/control/VectorLabels.jsx +++ b/web/libs/editor/src/tags/control/VectorLabels.jsx @@ -168,7 +168,6 @@ import ControlBase from "./Base"; * @param {rectangle|circle} [pointStyle=rectangle] - Style of points * @param {pixel|none} [snap=none] - Snap vector to image pixels * @param {boolean} [closable=false] - Allow closed shapes - * @param {boolean} [curves=false] - Allow Bezier curves * @param {boolean} [skeleton=false] - Enables skeleton mode to allow branch paths * @param {number|none} [minPoints=none] - Minimum allowed number of points * @param {number|none} [maxPoints=none] - Maximum allowed number of points