Make DetailContainerView opaque. Make the timeline’s scroll view opaque.

This commit is contained in:
Brent Simmons 2019-02-12 18:24:46 -08:00
parent 104445c413
commit c78f5d442d
2 changed files with 5 additions and 2 deletions

View File

@ -423,7 +423,7 @@
<subviews>
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="96" horizontalPageScroll="10" verticalLineScroll="96" verticalPageScroll="10" hasHorizontalScroller="NO" horizontalScrollElasticity="none" translatesAutoresizingMaskIntoConstraints="NO" id="Kfs-n2-RYk">
<rect key="frame" x="0.0" y="0.0" width="450" height="198"/>
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="yAN-Ex-RC7">
<clipView key="contentView" copiesOnScroll="NO" id="yAN-Ex-RC7">
<rect key="frame" x="0.0" y="0.0" width="450" height="198"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
@ -465,7 +465,6 @@
</connections>
</tableView>
</subviews>
<nil key="backgroundColor"/>
</clipView>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="9r2-h4-K46">
<rect key="frame" x="-100" y="-100" width="223" height="15"/>

View File

@ -212,6 +212,10 @@ final class DetailContainerView: NSView {
weak var viewController: DetailViewController? = nil
override var isOpaque: Bool {
return true
}
var contentView: NSView? {
didSet {
if contentView == oldValue {