|
@@ -526,8 +526,8 @@ class SymjaConsole {
|
|
|
const dpr = window.devicePixelRatio || 1;
|
|
const dpr = window.devicePixelRatio || 1;
|
|
|
canvas.width = 500 * dpr;
|
|
canvas.width = 500 * dpr;
|
|
|
canvas.height = 500 * dpr;
|
|
canvas.height = 500 * dpr;
|
|
|
- canvas.style.width = '500px';
|
|
|
|
|
- canvas.style.height = '500px';
|
|
|
|
|
|
|
+ canvas.style.width = '100%';
|
|
|
|
|
+ canvas.style.height = '100%';
|
|
|
container.appendChild(canvas);
|
|
container.appendChild(canvas);
|
|
|
|
|
|
|
|
// 长按保存(单指静止800ms触发)
|
|
// 长按保存(单指静止800ms触发)
|