feat: emphasize module headers and layer actions on the approved dark base
这个提交包含在:
1 父节点
2ba0a415ae
当前提交
55b66a358c
5 个文件已更改
+33
-8
没有与搜索条件相匹配的文件
@@ -83,6 +83,14 @@ void DYDrawThemeSurface(NSBezierPath *path,BOOL card) {
|
||||
@end
|
||||
@implementation DYThemeButton
|
||||
+ (Class)cellClass {return DYThemeButtonCell.class;}
|
||||
- (void)drawRect:(NSRect)rect {
|
||||
if(DYThemeIndex()==6&&[self.identifier isEqual:@"layerAction"]){
|
||||
NSBezierPath *plate=[NSBezierPath bezierPathWithRoundedRect:NSInsetRect(self.bounds,1,1) xRadius:5 yRadius:5];
|
||||
[[NSColor colorWithWhite:1 alpha:self.cell.highlighted?.12:.055]setFill];[plate fill];
|
||||
[[NSColor colorWithWhite:1 alpha:self.cell.highlighted?.30:.14]setStroke];plate.lineWidth=.7;[plate stroke];
|
||||
}
|
||||
[super drawRect:rect];
|
||||
}
|
||||
@end
|
||||
@implementation DYThemePopUpButton
|
||||
- (void)drawRect:(NSRect)rect {
|
||||
|
||||
在新工单中引用
屏蔽一个用户