Skip to content

Commit 59f4a20

Browse files
committed
Fixed position/eyes dotScale bug.
Fixed position/eyes dotScale bug.
1 parent 335020a commit 59f4a20

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

QRCode.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* React Native QRCode generation component. Can generate standard QRCode image or base64 image data url text. Cross-browser QRCode generator for pure javascript. Support Dot style, Logo, Background image, Colorful, Title etc. settings. support binary mode.
55
*
6-
* Version 3.9.3
6+
* Version 3.9.4
77
*
88
* @author [ [email protected] ]
99
*
@@ -1231,6 +1231,8 @@ Drawing.prototype.draw = function(oQRCode) {
12311231
nowDotScale = _htOption.dotScaleAO;
12321232
} else if (eye.type == 'AI') {
12331233
nowDotScale = _htOption.dotScaleAI;
1234+
} else {
1235+
nowDotScale = 1;
12341236
}
12351237

12361238
if (_htOption.backgroundImage && _htOption.autoColor) {

0 commit comments

Comments
 (0)