Increase minimum font size to 16px to avoid conflict with browser's minimum font size settings
This commit is contained in:
parent
369b81b63f
commit
0ee757e22d
@ -36,7 +36,7 @@ var TextRenderingMode = {
|
||||
};
|
||||
|
||||
// Minimal font size that would be used during canvas fillText operations.
|
||||
var MIN_FONT_SIZE = 1;
|
||||
var MIN_FONT_SIZE = 16;
|
||||
|
||||
function createScratchCanvas(width, height) {
|
||||
var canvas = document.createElement('canvas');
|
||||
|
Loading…
Reference in New Issue
Block a user