Commit 39ec6649 by doszhang

dos

parent 43061ebd
...@@ -5,12 +5,14 @@ body { ...@@ -5,12 +5,14 @@ body {
font-family: "Microsoft YaHei"; font-family: "Microsoft YaHei";
} }
canvas,
canvas img {
width: 100%;
height: 100%;
}
canvas { canvas {
background: #000; background: #000;
width: 640px;
height: 1238px;
} }
#notification_area { #notification_area {
......
...@@ -83,8 +83,8 @@ function onLoad() { ...@@ -83,8 +83,8 @@ function onLoad() {
function resizeCanvas() { function resizeCanvas() {
if (!!canvas) { if (!!canvas) {
w = canvas.width = window.innerWidth; w = canvas.width = 640;
h = canvas.height = window.innerHeight; h = canvas.height = 1575;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment