We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fe1db6 commit a20eea8Copy full SHA for a20eea8
1 file changed
DevLog/UI/Profile/ProfileHeatmapView.swift
@@ -155,6 +155,6 @@ private struct MonthCompactHeatmapView: View {
155
private func opacity(for count: Int, max: Int) -> Double {
156
guard 0 < count && 0 < max else { return 0 }
157
let ratio = Double(count) / Double(max)
158
- return floor(ratio * 10) / 10
+ return ceil(ratio * 10) / 10
159
}
160
0 commit comments