From e627d0b66f0ee3627799f9b9605fce51c4b8bd3b Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 22 Jul 2025 15:23:15 +0100 Subject: [PATCH] Desktop: Add a note about screen rotation to the docs for screen insets --- modules/juce_gui_basics/desktop/juce_Displays.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/juce_gui_basics/desktop/juce_Displays.h b/modules/juce_gui_basics/desktop/juce_Displays.h index 3ed927a19c..b35494c39d 100644 --- a/modules/juce_gui_basics/desktop/juce_Displays.h +++ b/modules/juce_gui_basics/desktop/juce_Displays.h @@ -91,6 +91,9 @@ public: occupying the top portion of the screen is likely to have insets for the status bar but not the navigation bar, whereas an activity on the bottom may have navigation insets but not status insets. + + The insets may also change as a result of rotating the screen, as this will rotate any + physical screen cutouts, and could also cause system UI elements to be repositioned. */ BorderSize safeAreaInsets;