|
|
@ -1895,7 +1895,7 @@ void UBBoardController::updateSystemScaleFactor() |
|
|
|
QSize pageNominalSize = mActiveScene->nominalSize(); |
|
|
|
QSize pageNominalSize = mActiveScene->nominalSize(); |
|
|
|
//we're going to keep scale factor untouched if the size is custom
|
|
|
|
//we're going to keep scale factor untouched if the size is custom
|
|
|
|
QMap<DocumentSizeRatio::Enum, QSize> sizesMap = UBSettings::settings()->documentSizes; |
|
|
|
QMap<DocumentSizeRatio::Enum, QSize> sizesMap = UBSettings::settings()->documentSizes; |
|
|
|
if(pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio16_9) || pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio4_3)) |
|
|
|
// if(pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio16_9) || pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio4_3))
|
|
|
|
{ |
|
|
|
{ |
|
|
|
QSize controlSize = controlViewport(); |
|
|
|
QSize controlSize = controlViewport(); |
|
|
|
|
|
|
|
|
|
|
|