This commit is contained in:
Sam 2023-03-23 17:36:19 +13:00
parent e3d07a3c4e
commit c4de1e375a
2 changed files with 10 additions and 1 deletions

View File

@ -33,6 +33,12 @@ canvas {
/* height: 100vh; */
background-color: rgb(189, 189, 189);
}
.button{
display:block;
position: absolute;
right: 20px;
z-index: 100;
}
.controls{

View File

@ -5,7 +5,7 @@
<title>Document</title>
<link rel="stylesheet" href="./css/styles.css">
</head>
<body style="margin:0;" onclick="manualToggleSettings()">
<body style="margin:0;" >
<canvas id="myCanvas"
style="display: block;box-sizing: border-box;" ></canvas>
<div id="toolbar">
@ -33,6 +33,9 @@
<button onclick="ForwardFrame()">></button>
</div>
</div>
<div>
<button onclick="manualToggleSettings()" class="button">Show/hide</button>
</div>
</body>
<script src="./js/helper.js" type="text/javascript"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>