Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4860db6f6c | ||
|
|
4c1956d569 |
No files matched your search
@@ -71,6 +71,8 @@ struct NowPlayingScreen: View {
|
|||||||
private var runsLow: Bool { !docked && (folded || ui.isDuo) }
|
private var runsLow: Bool { !docked && (folded || ui.isDuo) }
|
||||||
/// Size of the art panel in the stacked layout, so the controls can match the art's width.
|
/// Size of the art panel in the stacked layout, so the controls can match the art's width.
|
||||||
@State private var artBox: CGSize = .zero
|
@State private var artBox: CGSize = .zero
|
||||||
|
/// Height of the wide layout's controls column, so the Duo art can match it.
|
||||||
|
@State private var ctlH: CGFloat = 0
|
||||||
/// The screen's height, for the strip at the top that a drag down closes from.
|
/// The screen's height, for the strip at the top that a drag down closes from.
|
||||||
@State private var screenH: CGFloat = 0
|
@State private var screenH: CGFloat = 0
|
||||||
@Environment(\.verticalSizeClass) private var vSize
|
@Environment(\.verticalSizeClass) private var vSize
|
||||||
@@ -95,11 +97,16 @@ struct NowPlayingScreen: View {
|
|||||||
// can't spill onto the art or under the Duo rail.
|
// can't spill onto the art or under the Duo rail.
|
||||||
let col = tight ? min(max(geo.size.width * 0.46, 300), 420) : min(max(geo.size.width * 0.42, 300), 440)
|
let col = tight ? min(max(geo.size.width * 0.46, 300), 420) : min(max(geo.size.width * 0.42, 300), 440)
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
|
// On the Duo the art matches the controls' height, so it lines up with the title
|
||||||
|
// and the button row instead of floating in the middle of a tall pane.
|
||||||
|
let match = ui.isDuo && !docked && panel == .Art && ctlH > 0
|
||||||
panelView(track, header: false)
|
panelView(track, header: false)
|
||||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
.frame(maxWidth: .infinity, maxHeight: match ? min(ctlH, geo.size.height) : .infinity)
|
||||||
|
.frame(maxHeight: .infinity)
|
||||||
.transition(.opacity.combined(with: .scale(scale: 0.96)))
|
.transition(.opacity.combined(with: .scale(scale: 0.96)))
|
||||||
controls(track, wide: true, width: col)
|
controls(track, wide: true, width: col)
|
||||||
.frame(width: col)
|
.frame(width: col)
|
||||||
|
.onGeometryChange(for: CGFloat.self) { $0.size.height } action: { ctlH = $0 }
|
||||||
.frame(maxHeight: .infinity)
|
.frame(maxHeight: .infinity)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ settings:
|
|||||||
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
|
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
|
||||||
MARKETING_VERSION: "0.10.1"
|
MARKETING_VERSION: "0.10.1"
|
||||||
VERSION_LABEL: "0.10.1"
|
VERSION_LABEL: "0.10.1"
|
||||||
CURRENT_PROJECT_VERSION: "50"
|
CURRENT_PROJECT_VERSION: "51"
|
||||||
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
|
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
|
||||||
APP_ID: org.cdnutter.stemify
|
APP_ID: org.cdnutter.stemify
|
||||||
APP_NAME: Stemify
|
APP_NAME: Stemify
|
||||||
|
|||||||
+4
-4
@@ -18,11 +18,11 @@
|
|||||||
{
|
{
|
||||||
"version": "0.10.1",
|
"version": "0.10.1",
|
||||||
"marketingVersion": "0.10.1",
|
"marketingVersion": "0.10.1",
|
||||||
"buildVersion": "49",
|
"buildVersion": "50",
|
||||||
"date": "2026-11-20T10:33:02-08:00",
|
"date": "2026-11-20T10:42:45-08:00",
|
||||||
"localizedDescription": "iOS: full-screen Now Playing watches the hinge so unfolding goes landscape; build 49",
|
"localizedDescription": "iOS: bigger art in wide panes, Duo Split View player sits lower; build 50",
|
||||||
"downloadURL": "https://git.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.1/stemify-0.10.1.ipa",
|
"downloadURL": "https://git.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.1/stemify-0.10.1.ipa",
|
||||||
"size": 3141489,
|
"size": 3141097,
|
||||||
"minOSVersion": "17.0"
|
"minOSVersion": "17.0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user