mirror of
https://github.com/viliusle/miniPaint.git
synced 2026-02-06 13:36:45 +00:00
Fix stroke width shouldnt be affected by strikethrough
This commit is contained in:
parent
746b8cf090
commit
893c0d8730
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user