diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-06 12:38:56 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-13 11:32:27 -0700 |
commit | a200ac09829c867b5dcb9f106a333ebbf0126a95 (patch) | |
tree | bb4f75931996d03f75f374e95f8938d410089e56 | |
parent | 5025943bc414a9dd9217a93d596f006a766b047e (diff) | |
download | subsurface-a200ac09829c867b5dcb9f106a333ebbf0126a95.tar.gz |
Mobile: need to recalculate column width when rotating
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qml/main.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 150c6d1ed..c44143fe1 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -589,6 +589,7 @@ if you have network connectivity and want to sync your data to cloud storage."), } else if (rootItem.lastOrientation !== undefined && rootItem.lastOrientation != Screen.primaryOrientation) { console.log("Screen rotated, no action necessary") rootItem.lastOrientation = Screen.primaryOrientation + setupUnits() } else { console.log("size change without rotation to " + width + " x " + height) if (width > subsurfaceTheme.initialWidth) { |