提交 9923364c 编写于 作者: Q qiang

chore: build

上级 2092d21a
......@@ -6402,7 +6402,9 @@ function initHidpi() {
const args = Array.prototype.slice.call(arguments);
args[1] *= pixelRatio;
args[2] *= pixelRatio;
args[3] *= pixelRatio;
if (args[3] && typeof args[3] === "number") {
args[3] *= pixelRatio;
}
var font2 = this.font;
this.font = font2.replace(/(\d+\.?\d*)(px|em|rem|pt)/g, function(w, m, u) {
return m * pixelRatio + u;
......@@ -6419,7 +6421,9 @@ function initHidpi() {
var args = Array.prototype.slice.call(arguments);
args[1] *= pixelRatio;
args[2] *= pixelRatio;
args[3] *= pixelRatio;
if (args[3] && typeof args[3] === "number") {
args[3] *= pixelRatio;
}
var font2 = this.font;
this.font = font2.replace(/(\d+\.?\d*)(px|em|rem|pt)/g, function(w, m, u) {
return m * pixelRatio + u;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册