diff --git a/CHANGELOG.md b/CHANGELOG.md index 27c932b7..ace89296 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ### Fixed -- +- Fixed incorrect width of shapes borders in some cases ### Security - diff --git a/cvat/apps/engine/static/engine/js/shapeCollection.js b/cvat/apps/engine/static/engine/js/shapeCollection.js index be124699..cffa804e 100644 --- a/cvat/apps/engine/static/engine/js/shapeCollection.js +++ b/cvat/apps/engine/static/engine/js/shapeCollection.js @@ -1453,6 +1453,7 @@ class ShapeCollectionView { let newModels = newShapes.map((el) => el.model); const frameChanged = this._frameMarker !== window.cvat.player.frames.current; + this._scale = window.cvat.player.geometry.scale; if (frameChanged) { this._frameContent.node.parent = null;