mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 09:14:06 +01:00
Fix layout bug with 1-line title and 0-line summary.
This commit is contained in:
parent
c5742d0242
commit
5d756d6a20
@ -54,7 +54,9 @@ struct TimelineCellLayout {
|
|||||||
lastTextRect = textRect
|
lastTextRect = textRect
|
||||||
}
|
}
|
||||||
else if numberOfLinesForTitle == 1 {
|
else if numberOfLinesForTitle == 1 {
|
||||||
lastTextRect = summaryRect
|
if summaryRect.height > 0.1 {
|
||||||
|
lastTextRect = summaryRect
|
||||||
|
}
|
||||||
}
|
}
|
||||||
let dateRect = TimelineCellLayout.rectForDate(textBoxRect, lastTextRect, appearance, cellData)
|
let dateRect = TimelineCellLayout.rectForDate(textBoxRect, lastTextRect, appearance, cellData)
|
||||||
let feedNameRect = TimelineCellLayout.rectForFeedName(textBoxRect, dateRect, appearance, cellData)
|
let feedNameRect = TimelineCellLayout.rectForFeedName(textBoxRect, dateRect, appearance, cellData)
|
||||||
|
Loading…
Reference in New Issue
Block a user