Browse Source

No Alpha

v1.2.4
Abhishek Banthia 8 years ago
parent
commit
080ea665fb
  1. 2
      Clocker/CLMainWindowController.m

2
Clocker/CLMainWindowController.m

@ -18,7 +18,7 @@
[super windowDidLoad];
CALayer *viewLayer = [CALayer layer];
viewLayer.backgroundColor = CGColorCreateGenericRGB(255.0, 255.0, 255.0, 0.8); //RGB plus Alpha Channel
viewLayer.backgroundColor = CGColorCreateGenericRGB(255.0, 255.0, 255.0, 1); //RGB plus Alpha Channel
[self.window.contentView setWantsLayer:YES]; // view's backing store is using a Core Animation Layer
(self.window.contentView).layer = viewLayer;
self.window.titlebarAppearsTransparent = YES;

Loading…
Cancel
Save