Add option to determine if Moonlight launches in full-screen. Fixes #103

This commit is contained in:
Cameron Gutman
2018-11-04 13:57:33 -08:00
parent dda22fd387
commit 1a5a6773ce
4 changed files with 30 additions and 5 deletions
+1 -5
View File
@@ -18,11 +18,7 @@ ApplicationWindow {
width: 1280
height: 600
// Maximize the window by default when the stream is configured
// for full-screen or borderless windowed. This is ideal for TV
// setups where the user doesn't want a tiny window in the middle
// of their screen when starting Moonlight.
visibility: prefs.windowMode != StreamingPreferences.WM_WINDOWED ? "Maximized" : "Windowed"
visibility: prefs.startWindowed ? "Windowed" : "Maximized"
Material.theme: Material.Dark
Material.accent: Material.Purple