💾 Archived View for seydaneen.nahtgards.de › leuchtturm › dwemerartefakte › SailfishOS › Page_4.4.0.… captured on 2023-03-20 at 18:03:59.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

--- Page.qml
+++ Page.qml
@@ -128,7 +128,15 @@
             // No common supported orientations, let the page decide
             allowed = allowedOrientations
         }
-        return allowed
+
+				if (
+					__silica_applicationwindow_instance.hasOwnProperty("preventOrientationsOverride") &&
+	    		__silica_applicationwindow_instance.preventOrientationsOverride
+	    	) {
+	    		return allowed 
+				}
+				
+				return defaultAllowedOrientations
     }
     property alias _windowOrientation: orientationState.pageOrientation