You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented here.
5
5
## [unreleased]
6
6
7
7
Nothing yet.
8
+
9
+
## [0.18.0] - July 21st, 2025
10
+
- add `allow_annotations_outside_image` arg to the `ULabel` constructor, which defaults to `true`.
11
+
- when set to `false`, new annotations will be limited to points within the image, and attempts to move annotations outside the image will bounce back.
12
+
8
13
## [0.17.0] - May 30th, 2025
9
14
- Add `anno_scaling_mode` argument to the `ULabel` constructor, which allows users to specify how the size of annotations should be scaled when the zoom level is changed.
10
15
- Options are `fixed`, `match-zoom`, and `inverse-zoom`.
Copy file name to clipboardExpand all lines: api_spec.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,7 +427,10 @@ Keybind to decrease the brush size. Default is `[`. Requires the active subtask
427
427
The number of annotations to render on a single canvas. Default is `100`. Increasing this number may improve performance for jobs with a large number of annotations.
428
428
429
429
### `click_and_drag_poly_annotations`
430
-
If true, the user can click and drag to contiuously place points for polyline and polygon annotations. Default is `true`.
430
+
If `true`, the user can click and drag to contiuously place points for polyline and polygon annotations. Default is `true`.
431
+
432
+
### `allow_annotations_outside_image`
433
+
When `false`, new annotations will be limited to points within the image, and attempts to move annotations outside the image will bounce back to inside the image. Default is `true`.
0 commit comments