Skip to content

Commit

Permalink
Predefined number of points in single shape mode disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Nov 1, 2024
1 parent f0a578a commit 12dab54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ function SingleShapeSidebar(): JSX.Element {
autoNextFrame: true,
nextFrame: null,
saveOnFinish: true,
pointsCountIsPredefined: true,
pointsCount: defaultPointsCount || 1,
pointsCountIsPredefined: defaultPointsCount !== null,
pointsCount: defaultPointsCount ?? 1,
labels: jobInstance.labels.filter((label) => label.type !== LabelType.TAG && label.type !== LabelType.SKELETON),
label: null,
labelType: LabelType.ANY,
Expand Down

0 comments on commit 12dab54

Please sign in to comment.