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 4fc9fe4 commit a9e81abCopy full SHA for a9e81ab
js/render.js
@@ -448,7 +448,7 @@ function drawWord(word) {
448
word.text = draw.text(function(add) {
449
450
add.text(word.val)
451
- .y(word.wy + Config.textPaddingY*2) // - texts.wordText.descent)
+ .y(word.wy + Config.textPaddingY*2 - texts.wordText.descent)
452
.x(word.wx + (word.ww/2) - (textwh.w / 2))
453
.font(texts.wordText.style);
454
});
@@ -462,7 +462,7 @@ function drawWord(word) {
462
word.tagtext = draw.text(function(add) {
463
464
add.text(word.tag)
465
- .y(word.wy + Config.textPaddingY/2) // - texts.tagText.descent)
+ .y(word.wy + Config.textPaddingY/2 - texts.wordText.descent)
466
.x(tagXPos)
467
.font(texts.tagText.style);
468
0 commit comments