Skip to content

Commit ab4f5ec

Browse files
committed
update to use svg for buttons
1 parent 34eed81 commit ab4f5ec

12 files changed

+48
-7
lines changed

Assets/WebPlayerTemplates/HappyFunTimes/controller.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!-- this is inserted into index.html by build.py -->
22
<div id="buttons" class="hft-fullsize">
3-
<div class="button" id="left"></div>
4-
<div class="button" id="right"></div>
3+
<div class="button" id="left"><img src="images/hft-left-arrow-button.svg" /></div>
4+
<div class="button" id="right"><img src="images/hft-right-arrow-button.svg" /></div>
55
<canvas id="avatar"></canvas>
6-
<div class="button" id="up"></div>
6+
<div class="button" id="up"><img src="images/hft-up-arrow-button.svg" /></div>
77
</div>
88
<div id="hft-portrait" class="hft-fullsize hft-fullcenter">
99
<div class="hft-portrait-rot90">

Assets/WebPlayerTemplates/HappyFunTimes/css/controller.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ html, body {
4040
user-select: none;
4141
}
4242
.button {
43-
background-color: #fff;
44-
color: #000;
45-
border: 3px solid #444;
46-
border-radius: 10px;
4743
width: 110px;
4844
height: 110px;
4945
text-align: center;
Lines changed: 1 addition & 0 deletions
Loading

Assets/WebPlayerTemplates/HappyFunTimes/images/hft-circle-button.svg.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Loading

Assets/WebPlayerTemplates/HappyFunTimes/images/hft-down-arrow-button.svg.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Loading

Assets/WebPlayerTemplates/HappyFunTimes/images/hft-left-arrow-button.svg.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Loading

Assets/WebPlayerTemplates/HappyFunTimes/images/hft-right-arrow-button.svg.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)