mirror of
https://github.com/yattee/yattee.git
synced 2026-07-19 22:02:10 +00:00
Raise player settings sheet detent so audio mode toggle is visible
Rest the quality/settings sheet at a 0.6 fraction instead of .medium on iOS so the general section (playback speed / audio mode / lock) at the bottom of the scroll view is reachable without dragging up to .large.
This commit is contained in:
@@ -237,7 +237,10 @@ struct QualitySelectorView: View {
|
||||
stackRoot
|
||||
}
|
||||
#if os(iOS)
|
||||
.presentationDetents([.medium, .large])
|
||||
// Rest at a taller-than-medium detent so the general section (playback
|
||||
// speed / audio mode / lock) at the bottom of the scroll view is
|
||||
// visible without dragging the sheet up to `.large`.
|
||||
.presentationDetents([.fraction(0.6), .large])
|
||||
#endif
|
||||
#if os(macOS)
|
||||
.frame(minWidth: 450, minHeight: 500)
|
||||
|
||||
Reference in New Issue
Block a user