Update shell.html
This commit is contained in:
parent
e7114a5c2a
commit
33580991c7
1 changed files with 4 additions and 2 deletions
|
@ -160,6 +160,7 @@ jwE50AGjLCVuS8Yt4H7OgZLKK5EKOsLviEWJSL/+0uMi7gLUSBseYwqEbXvSHCec1CJvZPyHCmYQffaB
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 140px;
|
width: 140px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=button]:hover {
|
input[type=button]:hover {
|
||||||
|
@ -176,8 +177,9 @@ jwE50AGjLCVuS8Yt4H7OgZLKK5EKOsLviEWJSL/+0uMi7gLUSBseYwqEbXvSHCec1CJvZPyHCmYQffaB
|
||||||
<div class="emscripten" id="status">Downloading...</div>
|
<div class="emscripten" id="status">Downloading...</div>
|
||||||
|
|
||||||
<span id='controls'>
|
<span id='controls'>
|
||||||
|
<span><input type="button" value="📜 SOURCE CODE" onclick="location.href='https://github.com/raysan5/raylib';"/></span>
|
||||||
<span><input type="button" value="🖵 FULLSCREEN" onclick="Module.requestFullscreen(false, false)"></span>
|
<span><input type="button" value="🖵 FULLSCREEN" onclick="Module.requestFullscreen(false, false)"></span>
|
||||||
<span><input type="button" id="btn-audio" value="🔇 SUSPEND" onclick="toggleAudio()"></span>
|
<span><input type="button" id="btn-audio" value="🔇 MUTE" onclick="toggleAudio()"></span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="emscripten">
|
<div class="emscripten">
|
||||||
|
@ -322,7 +324,7 @@ jwE50AGjLCVuS8Yt4H7OgZLKK5EKOsLviEWJSL/+0uMi7gLUSBseYwqEbXvSHCec1CJvZPyHCmYQffaB
|
||||||
else if (ctx.state == "running") ctx.suspend();
|
else if (ctx.state == "running") ctx.suspend();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (resumed) audioBtn.value = "🔇 SUSPEND";
|
if (resumed) audioBtn.value = "🔇 MUTE";
|
||||||
else audioBtn.value = "🔈 RESUME";
|
else audioBtn.value = "🔈 RESUME";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue