[TD]fix autoscale loop

- checkfit and autoscale were calculating page size differently
This commit is contained in:
wandererfan
2024-07-28 10:50:32 -04:00
committed by Chris Hennes
parent 1cae7ffc3f
commit 3bc2dde5bd
2 changed files with 3 additions and 7 deletions

View File

@@ -453,7 +453,7 @@ void DrawViewPart::postHlrTasks()
}
}
//second pass if required
// rescale if view doesn't fit on page
if (ScaleType.isValue("Automatic") && !checkFit()) {
double newScale = autoScale();
Scale.setValue(newScale);