Browse Source

Reset modern slider.

pull/101/head
Abhishek 4 years ago
parent
commit
4456973821
  1. 3
      Clocker/Panel/PanelController.swift
  2. 4
      Clocker/Panel/UI/HourMarkerViewItem.xib

3
Clocker/Panel/PanelController.swift

@ -92,9 +92,10 @@ class PanelController: ParentPanelController {
}
}
// Reset future slider value to zero
futureSlider.integerValue = 0
sliderDatePicker.dateValue = Date()
setModernSliderLabel(0)
setTimezoneDatasourceSlider(sliderValue: 0)

4
Clocker/Panel/UI/HourMarkerViewItem.xib

@ -19,10 +19,10 @@
<rect key="frame" x="0.0" y="0.0" width="181" height="103"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<box horizontalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="1AP-TS-SAk">
<box focusRingType="none" horizontalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="1AP-TS-SAk">
<rect key="frame" x="88" y="0.0" width="5" height="103"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="DvW-Pd-tOA"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="1" id="DvW-Pd-tOA"/>
</constraints>
</box>
</subviews>

Loading…
Cancel
Save