Browse Source

Update bottom insets.

pull/101/head
Abhishek 4 years ago
parent
commit
37b42fb871
  1. 2
      Clocker/Panel/ParentPanelController+ModernSlider.swift
  2. 6
      Clocker/Panel/UI/HourMarkerViewItem.xib

2
Clocker/Panel/ParentPanelController+ModernSlider.swift

@ -18,7 +18,7 @@ extension ParentPanelController: NSCollectionViewDataSource {
extension ParentPanelController {
func setupModernSliderIfNeccessary() {
if modernSlider != nil {
modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 10, right: 0)
modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
modernSlider.enclosingScrollView?.backgroundColor = NSColor.clear
modernSlider.postsBoundsChangedNotifications = true
NotificationCenter.default.addObserver(self,

6
Clocker/Panel/UI/HourMarkerViewItem.xib

@ -6,11 +6,7 @@
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner">
<connections>
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
</connections>
</customObject>
<customObject id="-2" userLabel="File's Owner"/>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY">

Loading…
Cancel
Save