diff --git a/app.js b/app.js index baf9863..544fbf8 100644 --- a/app.js +++ b/app.js @@ -264,7 +264,6 @@ function resumeOnKeyDown(event) { /* Scene */ - const renderer = new THREE.WebGLRenderer({ powerPreference: "high-performance", antialias: true, diff --git a/css/style.css b/css/style.css index ba0ea19..b74cf26 100644 --- a/css/style.css +++ b/css/style.css @@ -27,6 +27,10 @@ span { left: 15px; } +.lil-gui.root > .title { + font-size: 1.5em; +} + .lil-gui .controller.disabled { opacity: .8; } @@ -51,6 +55,7 @@ canvas { #messagesSpan div { opacity: 0; overflow: hidden; + user-select: none; } h1 { @@ -168,7 +173,6 @@ h1 { .pause #pauseSpan { display: flex; position:absolute; - display: flex; top: 0; left: 0; filter: blur(2px); @@ -181,4 +185,5 @@ h1 { font-size: 20vh; font-weight: 800; letter-spacing: .1em; + user-select: none; } \ No newline at end of file diff --git a/jsm/TetraGUI.js b/jsm/TetraGUI.js index f0ceffc..11e6f1b 100644 --- a/jsm/TetraGUI.js +++ b/jsm/TetraGUI.js @@ -5,7 +5,7 @@ import { Mino, environment } from './Tetrominoes.js' export class TetraGUI extends GUI { - constructor(game, settings, stats, scene, controls, playfield, loadingManager) { + constructor(game, settings, stats, scene, controls, playfield) { super({title: "teTra"}) this.startButton = this.add(game, "start").name("Jouer").hide() diff --git a/jsm/scheduler.js b/jsm/scheduler.js index df3d861..0ff3663 100644 --- a/jsm/scheduler.js +++ b/jsm/scheduler.js @@ -35,5 +35,4 @@ class Scheduler { const scheduler = new Scheduler() - export { scheduler } \ No newline at end of file