Browse Source

Color to indicate we're using a debug build.

pull/113/head
Abhishek 3 years ago
parent
commit
8c3e4fa4c1
  1. 9
      Clocker/Panel/ParentPanelController.swift

9
Clocker/Panel/ParentPanelController.swift

@ -172,6 +172,15 @@ class ParentPanelController: NSWindowController {
setupObservers()
updateReviewViewFontColor()
// Set the background color of the bottom buttons view to something different to indicate we're not in a release candidate
#if DEBUG
stackView.arrangedSubviews.last?.layer?.backgroundColor = NSColor(deviceRed: 255.0/255.0,
green: 150.0/255.0,
blue: 122.0/255.0,
alpha: 0.5).cgColor
stackView.arrangedSubviews.last?.toolTip = "Clocker is running in Debug Mode"
#endif
// Setup layers
futureSliderView.wantsLayer = true

Loading…
Cancel
Save