From f92202ae2ed96c6b54e8fdce7589b023fc59da49 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sun, 31 Dec 2017 14:00:46 +0900 Subject: [PATCH] build --- .../sample-ui/sample-ui.css.bytes | 24 +++++++++---------- .../sample-ui/sample-ui.js.bytes | 2 ++ package.json | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.css.bytes b/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.css.bytes index 9e6aec8..7ff06b2 100644 --- a/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.css.bytes +++ b/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.css.bytes @@ -1,7 +1,7 @@ /* set all elements to use border-box sizing. Yay! */ html { box-sizing: border-box; - height: 100vh; + height: 100%; } *, *:before, *:after { box-sizing: inherit; @@ -12,8 +12,8 @@ html { } body { - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; margin: 0; font-family: Helvetica, Arial, sans-serif; overflow: hidden; @@ -21,8 +21,8 @@ body { /* class to make something full size */ .hft-fullsize { - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; } .hft-top-left { position: absolute; @@ -31,8 +31,8 @@ body { } /* class to make a column based flexbox with everything centered */ .hft-fullcenter { - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; @@ -61,13 +61,13 @@ body { */ #hft-everything { position: relative; - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; } #hft-content { position: relative; - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; } /* left header area */ #hft-nameentry { @@ -76,7 +76,7 @@ body { left: 0px; top: 0xp; z-index: 5000; - width: 100vw; + width: 100%; background: -webkit-linear-gradient(top, #f2f6f8 0%,#d8e1e7 88%,#b5c6d0 91%,#e0eff9 100%); background: linear-gradient(to bottom, #f2f6f8 0%,#d8e1e7 88%,#b5c6d0 91%,#e0eff9 100%); } diff --git a/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.js.bytes b/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.js.bytes index 3da75b3..e79dbc4 100644 --- a/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.js.bytes +++ b/Assets/HappyFunTimes/Resources/HappyFunTimesAutoGeneratedDoNotEdit/sample-ui/sample-ui.js.bytes @@ -3486,6 +3486,7 @@ }; var onPointerDown = function(e) { + e.preventDefault(); var padId = getClosestPad(e); checkStart(padId, e); }; @@ -3631,6 +3632,7 @@ //}; var handleButtonDown = function(e, buttonInfo) { + e.preventDefault(); addPointerId(buttonInfo, e.pointerId, e.timeStamp); }; diff --git a/package.json b/package.json index 7406783..943580d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hft-unity3d", - "version": "2.0.0", + "version": "2.1.5", "description": "builder for happyfuntimes unity javascript runtime support", "main": "index.js", "scripts": {