Skip to content

Commit

Permalink
v2.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrossley committed Feb 17, 2021
1 parent e273d4a commit d113942
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ReadMe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ SteelSeries JavaScript gauges
=============================
Created by Mark Crossley July 2011

Version 2.7.5
Updated: 30 September 2019
Version 2.7.6
Updated: 17 February 2021

+-------------------------------------------------------+
| |
Expand Down
7 changes: 7 additions & 0 deletions web_server/css/gauges-ss.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions web_server/scripts/gauges.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gauges = (function () {
var strings = LANG.EN, // Set to your default language. Store all the strings in one object
config = {
// Script configuration parameters you may want to 'tweak'
scriptVer : '2.7.5',
scriptVer : '2.7.6',
weatherProgram : 0, // Set 0=Cumulus, 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX, 7=WLCOM
imgPathURL : './images/', // *** Change this to the relative path for your 'Trend' graph images
oldGauges : 'gauges.htm', // *** Change this to the relative path for your 'old' gauges page.
Expand Down Expand Up @@ -2166,11 +2166,7 @@ gauges = (function () {
height: cache.odoHeight
});
// Position it
$(buffers.Odo).css({
position: 'absolute',
top : Math.ceil(cache.gaugeSize * 0.7 + $('#canvas_rose').position().top) + 'px',
left : Math.ceil((cache.gaugeSize - cache.odoWidth) / 2 + $('#canvas_rose').position().left) + 'px'
});
$(buffers.Odo).attr("class", "odo");
// Insert it into the DOM before the Rose gauge
$(buffers.Odo).insertBefore('#canvas_rose');
// Create the odometer
Expand Down

0 comments on commit d113942

Please sign in to comment.