Skip to content

Commit

Permalink
변수 추리
Browse files Browse the repository at this point in the history
  • Loading branch information
SunChunxie authored and SunChunxie committed Jun 12, 2016
1 parent dfdabb6 commit d4fa03a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/barcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function barcode(properties) {
height = '',
symbol = '',
rotation = '',
scale_w = 1,
showText = 'Y',
textAbove = '',
text = ''
Expand All @@ -35,7 +36,7 @@ function barcode(properties) {
}

var lines = [];
lines.push(['^BY'+1, 3])
lines.push(['^BY'+scale_w, 3])

if (showText) {
height = height / 1.2; // barcode 높이는 문자 뺀 다음의 높이임.
Expand Down

0 comments on commit d4fa03a

Please sign in to comment.