Skip to content

Commit

Permalink
1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
afriscic committed Jun 12, 2024
1 parent 0e5bd6d commit b3eeaff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>1.5.4</Version>
<Version>1.5.5</Version>
<Authors>Alen Friščić</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ internal void UpdateZoomFactor()
{
factor = Math.Max(factor, _cameraView.MinZoomFactor);
factor = Math.Min(factor, _cameraView.MaxZoomFactor);
_cameraController.SetZoomRatio(factor);

if (factor != _cameraView.CurrentZoomFactor)
_cameraController.SetZoomRatio(factor);
}
}
}
Expand Down

0 comments on commit b3eeaff

Please sign in to comment.