Skip to content

Commit

Permalink
Update Resources/Public/JavaScript/PageView/ScoreUtility.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
chrizzor and sebastian-meyer authored Jul 8, 2024
1 parent 13603d4 commit 4773c61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Resources/Public/JavaScript/PageView/ScoreUtility.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ dlfScoreUtil.parseGeometry_ = function(node) {
}

// return geometry without rescale
if (!dlfUtils.exists(this.image_) || !dlfUtils.exists(this.width_))
if (!dlfUtils.exists(this.image_) || !dlfUtils.exists(this.width_)) {
return new ol.geom.Polygon(coordinatesWithoutScale);
}

// rescale coordinates
var scale = this.image_.width / this.width_,
Expand Down

0 comments on commit 4773c61

Please sign in to comment.