We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfa2aba commit 66eb4d3Copy full SHA for 66eb4d3
js/jquery.knob.js
@@ -98,7 +98,11 @@
98
cursor : (this.$.data('cursor') === true && 30)
99
|| this.$.data('cursor')
100
|| 0,
101
- thickness : this.$.data('thickness') || 0.35,
+ thickness : (
102
+ this.$.data('thickness')
103
+ && Math.max(Math.min(this.$.data('thickness'), 1), 0.01)
104
+ )
105
+ || 0.35,
106
lineCap : this.$.data('linecap') || 'butt',
107
width : this.$.data('width') || 200,
108
height : this.$.data('height') || 200,
0 commit comments