mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 20:16:16 +00:00
Mobile: need to recalculate column width when rotating
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5025943bc4
commit
a200ac0982
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue