Merge pull request #3104 from vyv03354/issue2907
Increase minimum font size to 16px to avoid conflict with browser's mini...
This commit is contained in:
commit
beec8abd2a
@ -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…
x
Reference in New Issue
Block a user