Mobile: need to recalculate column width when rotating

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-06 12:38:56 -07:00
parent 5025943bc4
commit a200ac0982

View file

@ -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) {