mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Make sure dialogs are displayed full screen on mobiles landscape-oriented (#5350)
This commit is contained in:
@@ -27,7 +27,7 @@ export const useResponsiveWindowWidth = (): WidthType => {
|
||||
return 'medium';
|
||||
}
|
||||
|
||||
return window.innerWidth < 750 || window.innerHeight < 350
|
||||
return window.innerWidth < 950 || window.innerHeight < 350
|
||||
? 'small'
|
||||
: window.innerWidth < 1150
|
||||
? 'medium'
|
||||
|
Reference in New Issue
Block a user