Skip to content

Commit f563686

Browse files
authored
Merge pull request #2 from virtual-labs/dev
code clean
2 parents c3f45d3 + 8f91750 commit f563686

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

experiment/simulation/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
</div>
2424
</div>
2525
</div>
26-
2726
<script src="./js/main.js"></script>
2827
</body>
2928
</html>

experiment/simulation/js/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ document.addEventListener('DOMContentLoaded', function () {
1212
flag = 0;
1313
tmHandle = window.setTimeout(draw, 1000 / fps);
1414
}
15+
1516
const canvas = document.getElementById("main");
1617
canvas.width = 1200;
17-
canvas.height = 600;
18+
canvas.height = 400;
1819
canvas.style = "border:3px solid";
1920
const ctx = canvas.getContext("2d");
2021

0 commit comments

Comments
 (0)