Skip to content

Commit

Permalink
Add viewport meta tag to the bubbles demo & fix HTML tags (#3598)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexaknyazev authored Oct 13, 2023
1 parent b9be8f8 commit 39b34d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sdk/demos/rive/bubbles.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
Implements the blend equations defined in the KHR_blend_equation_advanced specification:
https://registry.khronos.org/OpenGL/extensions/KHR/KHR_blend_equation_advanced.txt
-->
<!DOCTYPE html>
<html lang="en">
<style>
html, body {
width: 100%;
Expand All @@ -19,6 +21,8 @@
font-family: sans-serif;
}
</style>
<meta name="viewport" content="width=device-width">
<title>Advanced Blending Demo</title>
<div style="width:100%">
<div style="float:left">
<select id="blend_mode" onchange="setProgram(this.value)">
Expand All @@ -40,7 +44,7 @@
</select>
</div>
<div style="float:right" id="fps_label">0.0&nbsp;fps</div>
<div style="margin:0 auto; text-align: center; width:100%" id="renderer_name" />
<div style="margin:0 auto; text-align: center; width:100%" id="renderer_name"></div>
</div>
<canvas id="canvas"></canvas>
<script>
Expand Down Expand Up @@ -385,3 +389,4 @@
window.requestAnimationFrame(arguments.callee);
})();
</script>
</html>

0 comments on commit 39b34d8

Please sign in to comment.