Skip to content

Commit a20eea8

Browse files
committed
fix: 활동이 있더라도 내림에 의해 0으로 계산되어 보이지 않는 형태 방지
1 parent 0fe1db6 commit a20eea8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DevLog/UI/Profile/ProfileHeatmapView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,6 @@ private struct MonthCompactHeatmapView: View {
155155
private func opacity(for count: Int, max: Int) -> Double {
156156
guard 0 < count && 0 < max else { return 0 }
157157
let ratio = Double(count) / Double(max)
158-
return floor(ratio * 10) / 10
158+
return ceil(ratio * 10) / 10
159159
}
160160
}

0 commit comments

Comments
 (0)