Browse Source

Minor tweaks.

pull/101/head
Abhishek 3 years ago
parent
commit
3bdacabb49
  1. 4
      Clocker/Clocker/en.lproj/Panel.xib
  2. 7
      Clocker/Events and Reminders/CalendarHandler.swift
  3. 4
      Clocker/Panel/Rate Controller/UpcomingEventView.swift
  4. 2
      Clocker/Panel/Upcoming Events/UpcomingEventViewItem.swift

4
Clocker/Clocker/en.lproj/Panel.xib

@ -366,7 +366,7 @@
</constraints>
</customView>
<button wantsLayer="YES" translatesAutoresizingMaskIntoConstraints="NO" id="TK5-db-7bd">
<rect key="frame" x="220" y="15" width="15" height="15"/>
<rect key="frame" x="215" y="15" width="15" height="15"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="JkE-Dc-CMn"/>
<constraint firstAttribute="height" constant="15" id="U52-GS-JMp"/>
@ -423,7 +423,7 @@
<constraint firstAttribute="bottom" secondItem="htc-pO-AqH" secondAttribute="bottom" priority="750" constant="30" id="YCJ-zB-dvc"/>
<constraint firstAttribute="trailing" secondItem="htc-pO-AqH" secondAttribute="trailing" id="esR-My-uoD"/>
<constraint firstItem="hma-wI-Sc9" firstAttribute="top" secondItem="TK5-db-7bd" secondAttribute="bottom" constant="-5" id="pIb-qt-jKw"/>
<constraint firstItem="TK5-db-7bd" firstAttribute="trailing" secondItem="hma-wI-Sc9" secondAttribute="trailing" constant="10" id="yhv-uP-Oih"/>
<constraint firstItem="TK5-db-7bd" firstAttribute="trailing" secondItem="hma-wI-Sc9" secondAttribute="trailing" constant="5" id="yhv-uP-Oih"/>
</constraints>
<accessibility identifier="Modern Slider Container"/>
</customView>

7
Clocker/Events and Reminders/CalendarHandler.swift

@ -414,9 +414,10 @@ extension EventCenter {
|| actualLink.contains("indigo.collocall.de")
|| actualLink.contains("public.senfcall.de")
|| actualLink.contains("youcanbook.me/zoom/")
|| actualLink.contains("workplace.com/groupcall") {
if let zoomLink = result.url {
return zoomLink
|| actualLink.contains("workplace.com/groupcall")
|| actualLink.contains("bluejeans.com/"){
if let meetingLink = result.url {
return meetingLink
}
}
}

4
Clocker/Panel/Rate Controller/UpcomingEventView.swift

@ -68,10 +68,6 @@ class ThinScroller: NSScroller {
return 15
}
override class func awakeFromNib() {
super.awakeFromNib()
}
override func drawKnobSlot(in _: NSRect, highlight _: Bool) {
// Leaving this empty to prevent background drawing
}

2
Clocker/Panel/Upcoming Events/UpcomingEventViewItem.swift

@ -42,6 +42,8 @@ class UpcomingEventViewItem: NSCollectionViewItem {
eventTitleLabel.stringValue = title
}
eventTitleLabel.toolTip = title
if meetingURL != nil {
zoomButton.isHidden = false
meetingLink = meetingURL

Loading…
Cancel
Save