Increase canvas resolution

This commit is contained in:
Mimi 2020-04-08 17:41:28 +08:00
parent fde5f1109e
commit 651b0fefa6
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ function loadWidget(config) {
sessionStorage.removeItem("waifu-text");
document.body.insertAdjacentHTML("beforeend", `<div id="waifu">
<div id="waifu-tips"></div>
<canvas id="live2d" width="300" height="300"></canvas>
<canvas id="live2d" width="800" height="800"></canvas>
<div id="waifu-tool">
<span class="fa fa-lg fa-comment"></span>
<span class="fa fa-lg fa-paper-plane"></span>

View File

@ -73,7 +73,9 @@
#waifu #live2d {
cursor: grab;
height: 300px;
position: relative;
width: 300px;
}
#waifu #live2d:active {