💾 Archived View for seydaneen.nahtgards.de › leuchtturm › dwemerartefakte › SailfishOS › Page_4.4.0.… captured on 2024-05-10 at 10:48:29.

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