Fix wind arrow

yahoo_weather
Neroth 13 years ago
parent 7e0a8cd38a
commit cd88984cb1
  1. 2
      src/extension.js

@ -737,7 +737,7 @@ WeatherMenuButton.prototype = {
}, },
get_compass_direction: function(deg) { get_compass_direction: function(deg) {
let directions = ["\u2191", "\u2197", "\u2192", "\u2198", "\u2193", "\u2199", "\u2190", "\u2196"]; let directions = ["\u2193", "\u2199", "\u2190", "\u2196", "\u2191", "\u2197", "\u2192", "\u2198"];
return directions[Math.round(deg / 45) % directions.length]; return directions[Math.round(deg / 45) % directions.length];
}, },

Loading…
Cancel
Save