feat(menubar): 调整两排卡片布局并加入复合曲线与数值动效
This commit is contained in:
@@ -71,7 +71,7 @@ struct ProcessTableView: View {
|
||||
}
|
||||
}
|
||||
.font(.system(size: 12)).padding(10)
|
||||
.background(Color("PanelCard"), in: .rect(cornerRadius: 14))
|
||||
.modifier(PanelCardBackground(radius: 14))
|
||||
.overlay(RoundedRectangle(cornerRadius: 14).strokeBorder(.primary.opacity(0.1)))
|
||||
.onAppear { rebuild(retainOrder: false) }
|
||||
.onChange(of: snapshot?.date) { _, _ in rebuild(retainOrder: held && (byMemory ? rows.contains { $0.residentBytes != nil } : rows.contains { $0.cpu != nil })) }
|
||||
|
||||
Reference in New Issue
Block a user