fix: show pull-down caption in gold theme; rebuild as 1.8.2 (59)

这个提交包含在:
mac 于 2026-11-04 10:49:03 +08:00 提交
1 父节点 870f0064c2
当前提交 64ebd20d54
6 个文件已更改
+36 -6

没有与搜索条件相匹配的文件

+1 -1
查看文件
@@ -90,7 +90,7 @@ void DYDrawThemeSurface(NSBezierPath *path,BOOL card) {
[[DYThemeColor(@"accent")colorWithAlphaComponent:self.enabled?.38:.18]setStroke];path.lineWidth=1;[path stroke];
NSMutableDictionary *attributes=[NSMutableDictionary dictionaryWithDictionary:DYThemeTextAttributes(self.font?:[NSFont systemFontOfSize:11],[DYThemeColor(@"text")colorWithAlphaComponent:self.enabled?1:.45])];NSMutableParagraphStyle *paragraph=[[[NSMutableParagraphStyle alloc]init]autorelease];paragraph.lineBreakMode=NSLineBreakByTruncatingTail;attributes[NSParagraphStyleAttributeName]=paragraph;
CGFloat y=NSMidY(self.bounds)-(self.font?:[NSFont systemFontOfSize:11]).pointSize*.62;
[(self.selectedItem.title?:@"")drawInRect:NSMakeRect(9,y,MAX(0,self.bounds.size.width-29),18) withAttributes:attributes];
[(self.pullsDown?[self itemAtIndex:0].title:(self.selectedItem.title?:@""))drawInRect:NSMakeRect(9,y,MAX(0,self.bounds.size.width-29),18) withAttributes:attributes];
[@"⌄" drawInRect:NSMakeRect(self.bounds.size.width-20,y,13,18) withAttributes:attributes];
if(self.window.firstResponder==self){[DYThemeColor(@"accent")setStroke];path.lineWidth=2;[path stroke];}
}
+1 -1
查看文件
@@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>1.8.2</string>
<key>CFBundleVersion</key>
<string>58</string>
<string>59</string>
<key>NSHumanReadableCopyright</key>
<string></string>
<key>PlugInKit</key>