Skip to content

Commit beec8ab

Browse files
committed
Merge pull request mozilla#3104 from vyv03354/issue2907
Increase minimum font size to 16px to avoid conflict with browser's mini...
2 parents 8d6aac1 + 0ee757e commit beec8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var TextRenderingMode = {
3636
};
3737

3838
// Minimal font size that would be used during canvas fillText operations.
39-
var MIN_FONT_SIZE = 1;
39+
var MIN_FONT_SIZE = 16;
4040

4141
function createScratchCanvas(width, height) {
4242
var canvas = document.createElement('canvas');

0 commit comments

Comments
 (0)