Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/source/includes/tags/vectorlabels.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
| [pointStyle] | <code>rectangle</code> \| <code>circle</code> | <code>rectangle</code> | Style of points |
| [snap] | <code>pixel</code> \| <code>none</code> | <code>none</code> | Snap vector to image pixels |
| [closable] | <code>boolean</code> | <code>false</code> | Allow closed shapes |
| [curves] | <code>boolean</code> | <code>false</code> | Allow Bezier curves |
| [skeleton] | <code>boolean</code> | <code>false</code> | Enables skeleton mode to allow branch paths |
| [minPoints] | <code>number</code> \| <code>none</code> | <code>none</code> | Minimum allowed number of points |
| [maxPoints] | <code>number</code> \| <code>none</code> | <code>none</code> | Maximum allowed number of points |
Expand Down
7 changes: 0 additions & 7 deletions web/libs/core/src/lib/utils/schema/tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions web/libs/editor/src/regions/VectorRegion.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { getRoot, isAlive, types } from "mobx-state-tree";
import NormalizationMixin from "../mixins/Normalization";
import RegionsMixin from "../mixins/Regions";
import Registry from "../core/Registry";
Expand Down Expand Up @@ -674,7 +673,7 @@ 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}
// allowBezier={item.control?.curves ?? false}
minPoints={item.minPoints}
maxPoints={item.maxPoints}
skeletonEnabled={item.control?.skeleton ?? false}
Expand Down
1 change: 0 additions & 1 deletion web/libs/editor/src/tags/control/VectorLabels.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading