small fixes
This commit is contained in:
parent
abf562fd89
commit
07daa4a9cf
1
app.js
1
app.js
@ -264,7 +264,6 @@ function resumeOnKeyDown(event) {
|
||||
|
||||
/* Scene */
|
||||
|
||||
|
||||
const renderer = new THREE.WebGLRenderer({
|
||||
powerPreference: "high-performance",
|
||||
antialias: true,
|
||||
|
@ -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;
|
||||
}
|
@ -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()
|
||||
|
@ -35,5 +35,4 @@ class Scheduler {
|
||||
|
||||
const scheduler = new Scheduler()
|
||||
|
||||
|
||||
export { scheduler }
|
Loading…
x
Reference in New Issue
Block a user