small fixes
This commit is contained in:
parent
b9bb673e7e
commit
4f4447e889
11
app.js
11
app.js
@ -1,4 +1,5 @@
|
|||||||
/* Contants */
|
|
||||||
|
/* Constants */
|
||||||
const TRANSLATION = {
|
const TRANSLATION = {
|
||||||
NONE: [ 0, 0],
|
NONE: [ 0, 0],
|
||||||
LEFT: [-1, 0],
|
LEFT: [-1, 0],
|
||||||
@ -477,10 +478,10 @@ class Settings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
this.form.onsubmit = newGame
|
this.form.onsubmit = newGame
|
||||||
levelInput.name = "startLevel"
|
levelInput.name = "startLevel"
|
||||||
levelInput.disabled = false
|
levelInput.disabled = false
|
||||||
titleHeader.innerHTML = "QUATRIS"
|
titleHeader.innerHTML = "QUATRIS"
|
||||||
resumeButton.innerHTML = "Jouer"
|
resumeButton.innerHTML = "Jouer"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,13 +74,13 @@
|
|||||||
<input name="hold" id="holdInput" type="text" class="form-control text-center" value="c" onclick="changeKey(this)" placeholder="Touche ?" required>
|
<input name="hold" id="holdInput" type="text" class="form-control text-center" value="c" onclick="changeKey(this)" placeholder="Touche ?" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<input name="pause" id="pauseInput" type="text" class="form-control text-center" value="Échap" onclick="changeKey(this)" placeholder="Touche ?" required>
|
<input name="pause" id="pauseInput" type="text" class="form-control text-center" value="Échap." onclick="changeKey(this)" placeholder="Touche ?" required>
|
||||||
</div>
|
</div>
|
||||||
<label for="pauseInput" title="Pause" class="col-sm-2 col-form-label d-flex align-items-center justify-content-center">
|
<label for="pauseInput" title="Pause" class="col-sm-2 col-form-label d-flex align-items-center justify-content-center">
|
||||||
<i class="bi bi-pause"></i>
|
<i class="bi bi-pause"></i>
|
||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset id="autorepearFieldset" class="row g-2 mb-3 align-items-center text-center">
|
<fieldset id="autorepeatFieldset" class="row g-2 mb-3 align-items-center text-center">
|
||||||
<legend class="text-start">Répétition automatique</legend>
|
<legend class="text-start">Répétition automatique</legend>
|
||||||
<label for="arrInput" class="col-sm-2 col-form-label" title="Automatic Repeat Rate : période de répétition de l'action">ARR</label>
|
<label for="arrInput" class="col-sm-2 col-form-label" title="Automatic Repeat Rate : période de répétition de l'action">ARR</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user