mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Make account header separators slightly wider so that they always appear on non-retina devices. Issue #1244
This commit is contained in:
parent
48b475a33c
commit
ac06175170
@ -176,9 +176,9 @@ private extension MasterFeedTableViewSectionHeader {
|
|||||||
unreadCountView.setFrameIfNotEqual(layout.unreadCountRect)
|
unreadCountView.setFrameIfNotEqual(layout.unreadCountRect)
|
||||||
disclosureView.setFrameIfNotEqual(layout.disclosureButtonRect)
|
disclosureView.setFrameIfNotEqual(layout.disclosureButtonRect)
|
||||||
|
|
||||||
let top = CGRect(x: safeAreaInsets.left, y: 0, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.25)
|
let top = CGRect(x: safeAreaInsets.left, y: 0, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.33)
|
||||||
topSeparatorView.setFrameIfNotEqual(top)
|
topSeparatorView.setFrameIfNotEqual(top)
|
||||||
let bottom = CGRect(x: safeAreaInsets.left, y: frame.height - 0.25, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.25)
|
let bottom = CGRect(x: safeAreaInsets.left, y: frame.height - 0.33, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.33)
|
||||||
bottomSeparatorView.setFrameIfNotEqual(bottom)
|
bottomSeparatorView.setFrameIfNotEqual(bottom)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user