Compare commits

..
Author SHA1 Message Date
root 11dffdf9e6 iOS source.json for ios-v0.10.1 2026-11-20 12:25:59 -08:00
rootandClaude Opus 5.5 a8742e7e3d Folded art-left: art's left edge matches the controls' padding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:25:54 -08:00
root ce6bce4018 iOS source.json for ios-v0.10.1 2026-11-20 12:19:26 -08:00
rootandClaude Opus 5.5 4860db6f6c Duo wide Now Playing: art matches the controls' height
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:19:12 -08:00
root 4c1956d569 iOS source.json for ios-v0.10.1 2026-11-20 10:42:45 -08:00
3 changed files with 18 additions and 8 deletions

No files matched your search

+13 -3
View File
@@ -71,6 +71,8 @@ struct NowPlayingScreen: View {
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.
@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.
@State private var screenH: CGFloat = 0
@Environment(\.verticalSizeClass) private var vSize
@@ -95,11 +97,16 @@ struct NowPlayingScreen: View {
// 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)
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)
.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)))
controls(track, wide: true, width: col)
.frame(width: col)
.onGeometryChange(for: CGFloat.self) { $0.size.height } action: { ctlH = $0 }
.frame(maxHeight: .infinity)
}
} else {
@@ -159,7 +166,7 @@ struct NowPlayingScreen: View {
private func panelView(_ track: Track, header: Bool) -> some View {
switch panel {
case .Art: ArtPanel(thumb: track.thumb, playing: g.playback.playWhenReady, inset: header ? artInset : 12,
leading: folded && !docked && !ui.split && g.settings.foldedArtLeft).contentShape(Rectangle())
leading: folded && !docked && !ui.split && g.settings.foldedArtLeft, edge: hPad).contentShape(Rectangle())
case .Mixer: VStack(spacing: 0) { if header { mini(track) }; MixerPanel(spread: folded) }
case .Queue: VStack(spacing: 0) { if header { mini(track) }; QueuePanel(close: { show(.Queue) }) }
case .Lyrics: VStack(spacing: 0) { if header { mini(track) }; LyricsPanel(track: track) }
@@ -453,6 +460,8 @@ private struct ArtPanel: View {
var inset: CGFloat = 28
/// Settings > Appearance, folded Duo only: art against the left edge.
var leading = false
/// The controls' side padding, which the art's left edge matches when `leading`.
var edge: CGFloat = 28
var body: some View {
GeometryReader { geo in
let side = max(min(geo.size.width, geo.size.height), 1)
@@ -462,7 +471,8 @@ private struct ArtPanel: View {
.animation(.spring(response: 0.45, dampingFraction: 0.62), value: playing)
.frame(width: geo.size.width, height: geo.size.height, alignment: leading ? .leading : .center)
}
.padding(.horizontal, inset).padding(.vertical, 8)
// Against the left edge, the art starts where the controls below it do.
.padding(.leading, leading ? edge : inset).padding(.trailing, inset).padding(.vertical, 8)
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ settings:
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
MARKETING_VERSION: "0.10.1"
VERSION_LABEL: "0.10.1"
CURRENT_PROJECT_VERSION: "50"
CURRENT_PROJECT_VERSION: "52"
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
APP_ID: org.cdnutter.stemify
APP_NAME: Stemify
+4 -4
View File
@@ -18,11 +18,11 @@
{
"version": "0.10.1",
"marketingVersion": "0.10.1",
"buildVersion": "49",
"date": "2026-11-20T10:33:02-08:00",
"localizedDescription": "iOS: full-screen Now Playing watches the hinge so unfolding goes landscape; build 49",
"buildVersion": "52",
"date": "2026-11-20T12:25:58-08:00",
"localizedDescription": "Folded art-left: art's left edge matches the controls' padding",
"downloadURL": "https://git.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.1/stemify-0.10.1.ipa",
"size": 3141489,
"size": 3142623,
"minOSVersion": "17.0"
},
{