Browse Source

Minor tweak.

pull/92/head
Abhishek 4 years ago
parent
commit
e75c3d2a3b
  1. 8
      Clocker/Media.xcassets/Onboarding/Dark Menubar.imageset/Contents.json
  2. BIN
      Clocker/Media.xcassets/Onboarding/Dark Menubar.imageset/Dark.png
  3. BIN
      Clocker/Media.xcassets/Onboarding/Dark Menubar.imageset/Screen Shot 2020-10-11 at 2.19.26 PM.png
  4. 24
      Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Contents.json
  5. BIN
      Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Dark.png
  6. BIN
      Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Screen Shot 2018-12-02 at 22.07.57.png
  7. BIN
      Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Screen Shot 2020-10-11 at 2.16.37 PM.png
  8. BIN
      Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Screen Shot 2020-10-11 at 2.19.26 PM.png
  9. 8
      Clocker/Media.xcassets/Onboarding/Light Menubar.imageset/Contents.json
  10. BIN
      Clocker/Media.xcassets/Onboarding/Light Menubar.imageset/Screen Shot 2018-12-02 at 22.07.57.png
  11. BIN
      Clocker/Media.xcassets/Onboarding/Light Menubar.imageset/Screen Shot 2020-10-11 at 2.16.37 PM.png
  12. 6
      Clocker/Panel/UI/TimezoneCellView.swift

8
Clocker/Media.xcassets/Onboarding/Dark Menubar.imageset/Contents.json vendored

@ -5,8 +5,8 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "Screen Shot 2020-10-11 at 2.19.26 PM.png",
"idiom" : "universal", "idiom" : "universal",
"filename" : "Dark.png",
"scale" : "2x" "scale" : "2x"
}, },
{ {
@ -15,7 +15,7 @@
} }
], ],
"info" : { "info" : {
"version" : 1, "author" : "xcode",
"author" : "xcode" "version" : 1
} }
} }

BIN
Clocker/Media.xcassets/Onboarding/Dark Menubar.imageset/Dark.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

BIN
Clocker/Media.xcassets/Onboarding/Dark Menubar.imageset/Screen Shot 2020-10-11 at 2.19.26 PM.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

24
Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Contents.json vendored

@ -5,29 +5,29 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"idiom" : "universal",
"scale" : "1x",
"appearances" : [ "appearances" : [
{ {
"appearance" : "luminosity", "appearance" : "luminosity",
"value" : "dark" "value" : "dark"
} }
] ],
"idiom" : "universal",
"scale" : "1x"
}, },
{ {
"filename" : "Screen Shot 2020-10-11 at 2.16.37 PM.png",
"idiom" : "universal", "idiom" : "universal",
"filename" : "Screen Shot 2018-12-02 at 22.07.57.png",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"idiom" : "universal",
"filename" : "Dark.png",
"appearances" : [ "appearances" : [
{ {
"appearance" : "luminosity", "appearance" : "luminosity",
"value" : "dark" "value" : "dark"
} }
], ],
"filename" : "Screen Shot 2020-10-11 at 2.19.26 PM.png",
"idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
@ -35,18 +35,18 @@
"scale" : "3x" "scale" : "3x"
}, },
{ {
"idiom" : "universal",
"scale" : "3x",
"appearances" : [ "appearances" : [
{ {
"appearance" : "luminosity", "appearance" : "luminosity",
"value" : "dark" "value" : "dark"
} }
] ],
"idiom" : "universal",
"scale" : "3x"
} }
], ],
"info" : { "info" : {
"version" : 1, "author" : "xcode",
"author" : "xcode" "version" : 1
} }
} }

BIN
Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Dark.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

BIN
Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Screen Shot 2018-12-02 at 22.07.57.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

BIN
Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Screen Shot 2020-10-11 at 2.16.37 PM.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
Clocker/Media.xcassets/Onboarding/Dynamic Menubar.imageset/Screen Shot 2020-10-11 at 2.19.26 PM.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

8
Clocker/Media.xcassets/Onboarding/Light Menubar.imageset/Contents.json vendored

@ -5,8 +5,8 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "Screen Shot 2020-10-11 at 2.16.37 PM.png",
"idiom" : "universal", "idiom" : "universal",
"filename" : "Screen Shot 2018-12-02 at 22.07.57.png",
"scale" : "2x" "scale" : "2x"
}, },
{ {
@ -15,7 +15,7 @@
} }
], ],
"info" : { "info" : {
"version" : 1, "author" : "xcode",
"author" : "xcode" "version" : 1
} }
} }

BIN
Clocker/Media.xcassets/Onboarding/Light Menubar.imageset/Screen Shot 2018-12-02 at 22.07.57.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

BIN
Clocker/Media.xcassets/Onboarding/Light Menubar.imageset/Screen Shot 2020-10-11 at 2.16.37 PM.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

6
Clocker/Panel/UI/TimezoneCellView.swift

@ -149,11 +149,7 @@ class TimezoneCellView: NSTableCellView {
let timeWidth = timeString.size(withAttributes: [NSAttributedString.Key.font: customTimeFont]).width let timeWidth = timeString.size(withAttributes: [NSAttributedString.Key.font: customTimeFont]).width
for constraint in time.constraints { for constraint in time.constraints {
if constraint.identifier == "height" { constraint.constant = constraint.identifier == "height" ? timeHeight : timeWidth
constraint.constant = timeHeight
} else {
constraint.constant = timeWidth
}
} }
} }

Loading…
Cancel
Save