summaryrefslogtreecommitdiff
path: root/src/macos/Sources/PardesView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'src/macos/Sources/PardesView.swift')
-rw-r--r--src/macos/Sources/PardesView.swift5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/macos/Sources/PardesView.swift b/src/macos/Sources/PardesView.swift
index 5ad09c38..70f467e3 100644
--- a/src/macos/Sources/PardesView.swift
+++ b/src/macos/Sources/PardesView.swift
@@ -523,9 +523,8 @@ private struct TaglineMetrics {
/// Where this band sits inside row `row`, measured down from the row's top.
/// The rule belongs to the core (`pardes_tagline_band_offset`) so that this
- /// shell and the SDL one cannot disagree about it: row zero and the first
- /// pane-tag row meet at a shared rule, a Tagbottom band on the last row
- /// faces the window edge, and everything between is centred.
+ /// shell and the SDL one cannot disagree about it: every band is centred,
+ /// except a Tagbottom band on the last row, which faces the window edge.
func top(row: Int, canvasHeight: CGFloat) -> CGFloat {
CGFloat(pardes_tagline_band_offset(
UInt16(clamping: row), Float(canvasHeight * scale), cellPixels, bandPixels)) / scale