diff --git a/public/libs/ui.js b/public/libs/ui.js index 07c9b37..e7695a8 100644 --- a/public/libs/ui.js +++ b/public/libs/ui.js @@ -1738,9 +1738,8 @@ ui.prototype._drawTextContent_draw = function (ctx, tempCtx, content, config) { if (config.index >= config.blocks.length) return false; var block = config.blocks[config.index++]; if (block != null) { - const scale = config.isHD - ? devicePixelRatio * core.domStyle.scale - : 1; + // It works, why? + const scale = config.isHD ? devicePixelRatio ** 2 : 1; core.drawImage( ctx, tempCtx.canvas,