Sonic-Gauge icon indicating copy to clipboard operation
Sonic-Gauge copied to clipboard

Zero at top of clockface

Open OutsourcedGuru opened this issue 7 years ago • 0 comments

Not a terrible error but I couldn't easily determine a means of making the clock at the top of the /example.htm file display a twelve rather than a zero (by editing this file). Not sure if you want to care about this one.

Work-around: I manually copied/edited my copy of /public/javascripts/jquery.sonic-gauge.js:

Before:

var text = p.gauge.text (x, y, txt).attr (this.text);

After:

var text = p.gauge.text (x, y, (txt == '0' && p.options.label.value == 'Clock') ? 12 : txt).attr (this.text);

OutsourcedGuru avatar Mar 28 '17 02:03 OutsourcedGuru