[TD]fix autoscale loop
- checkfit and autoscale were calculating page size differently
This commit is contained in:
committed by
Chris Hennes
parent
1cae7ffc3f
commit
3bc2dde5bd
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user