Skip to content

Commit

Permalink
fix: broken needle
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhus committed Apr 9, 2020
1 parent 26d8eed commit d879e53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/RadialGauge.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ function drawRadialNeedle(context, options) {
let pad1 = max / 100 * options.needleWidth;
let pad2 = max / 100 * options.needleWidth / 2;
let pixelRatio = SmartCanvas.pixelRatio;
let isFixed = options.animationTarget !== 'needle';

context.save();

Expand Down

0 comments on commit d879e53

Please sign in to comment.