Skip to content

Commit 2b4442e

Browse files
joeljoel
joel
authored and
joel
committed
incorporate intensity and chance
1 parent 57dec11 commit 2b4442e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/displays/mira.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ div.hide-if-empty style="font-size: 1.75rem; position:absolute; left: 0; right:
2626
- next if i.odd?
2727
td
2828
div style="height: 100px; position:relative; width: 28px;"
29-
div style="background-color:black; position: absolute; height: #{minute["precipitationChance"]*100}px; left: 0; right: 10px; bottom: 0; border-radius: 30px;"
29+
div style="background-color:black; position: absolute; height: #{(minute["precipitationChance"] + minute["precipitationIntensity"])*50}px; left: 0; right: 10px; bottom: 0; border-radius: 30px;"
3030
tr style="font-size: .75rem;"
3131
td colspan="10" Now
3232
td colspan="10" 20m

0 commit comments

Comments
 (0)