Fix stroke width shouldnt be affected by strikethrough

This commit is contained in:
acer 2020-11-28 23:45:27 -05:00
parent 746b8cf090
commit 893c0d8730

View File

@ -1735,6 +1735,7 @@ class Text_editor_class {
ctx.strokeStyle = strokeStyle;
ctx.fillText(letter, letterDrawX, letterDrawY);
if (stroke_size) {
ctx.lineWidth = stroke_size;
ctx.strokeText(letter, letterDrawX, letterDrawY);
}
if (strikethrough) {