Skip to content

Commit ce1872b

Browse files
committed
Magnify key preview text size too
1 parent 611006a commit ce1872b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/io/github/yawnoc/strokeinput/KeyPreview.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void update(final Key key, final int shiftMode) {
7575
borderPaint.setStrokeWidth(key.borderThickness);
7676

7777
textPaint.setColor(key.textColour);
78-
textPaint.setTextSize(key.textSize);
78+
textPaint.setTextSize(key.previewMagnification * key.textSize);
7979

8080
invalidate();
8181
}

0 commit comments

Comments
 (0)