From 1c220d8950a395b8b3b812e5e8ef129d63aa45f5 Mon Sep 17 00:00:00 2001 From: Marty Killian Date: Wed, 13 Dec 2023 09:39:07 +0100 Subject: [PATCH] phone fix --- public_html/css/game.css | 6 ++++++ public_html/js/class.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public_html/css/game.css b/public_html/css/game.css index 65fdfd5..4e77db4 100644 --- a/public_html/css/game.css +++ b/public_html/css/game.css @@ -64,7 +64,13 @@ html, body{ width: 100%; overflow-y: scroll; overflow-x: hidden; + } + +#chatMessages::-webkit-scrollbar{ + display: none; +} + #chatInputDiv{ height: 10%; width: 100%; diff --git a/public_html/js/class.js b/public_html/js/class.js index 839c645..5ae557a 100644 --- a/public_html/js/class.js +++ b/public_html/js/class.js @@ -213,7 +213,7 @@ class Car let collide = (cx<=x && x<=cx+carSize && cy<=y && y<=cy+carSize); if(collide) { driftSound.play() - this.drift=300*dt; + this.drift=75*dt; } return collide; }