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