You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we enter this while loop with a z value of zero which causes the app to hang. Not sure why it is zero, but maybe if it is zero it should not enter the while loop so it doesn't hang?
void_calcZoomStopTable() {
_zoomStops.clear();
double z;
if (_alternativeFitScale !=null&&!_areZoomsAlmostIdentical(_alternativeFitScale!, _coverScale!)) {
if (_alternativeFitScale!< _coverScale!) {
_zoomStops.add(_alternativeFitScale!);
z = _coverScale!;
} else {
_zoomStops.add(_coverScale!);
z = _alternativeFitScale!;
}
} else {
z = _coverScale!;
}
while (z <PdfViewerController.maxZoom) {
_zoomStops.add(z);
z *=2;
}
}
The text was updated successfully, but these errors were encountered:
Sometimes we enter this while loop with a z value of zero which causes the app to hang. Not sure why it is zero, but maybe if it is zero it should not enter the while loop so it doesn't hang?
The text was updated successfully, but these errors were encountered: