Compare commits
3 Commits
6c637fd9fa
...
b925c85c22
| Author | SHA1 | Date | |
|---|---|---|---|
| b925c85c22 | |||
| 02d3f33f4d | |||
| a036d12a7f |
13
TODO.md
13
TODO.md
@ -2,6 +2,8 @@
|
||||
|
||||
## Bugs
|
||||
|
||||
### fixed
|
||||
|
||||
- x Bug: KO/dead buttons fkt. nicht
|
||||
- applyDamage, ersetze erste Zeile: let $btn = $(e.target).is("button") ? $(e.target) : $(e.target).parents("button")[0];
|
||||
- x Bug: Kann nicht weit genug runterscrollen für remove bzw die unteren schadenskastchen
|
||||
@ -43,6 +45,17 @@
|
||||
|
||||
- x Änderungen im edit modal werden nicht mehr übernommen
|
||||
- war ein fehlendes let in editCombatant() -> wo das nur wieder herkam …
|
||||
- x Sortierung falsch, wenn Ini gleich und Rea unterschiedlich
|
||||
- x icons for dead and K.O don't load
|
||||
|
||||
### open
|
||||
|
||||
- make color scheme friendly for people with red green bindness (Felix)
|
||||
- see here: https://venngage.com/tools/accessible-color-palette-generator
|
||||
- current main color (turquoise): #001d1d
|
||||
- warum fkt. das Ganze nicht als Webapp?
|
||||
- Firefox (android) sieht die Seite nicht als installable an
|
||||
- Webmanifest ist aber da und scheint auch in Ordnung zu sein (sagt Firefox on Linux)
|
||||
- im FP3T Tor Browser kann ich rauszoomen, bis ich die ganzen damage monitors und action menus sehe -> verhindern!
|
||||
- bug in validateCombatant: OK schließt das modal, auch wenn die Eingaben invalid sind
|
||||
- wenn ich bei add combatant mit der Maus auf OK klicke, macht er das Modal zu, auch wenn die Eingaben invalid sind
|
||||
|
||||
11
package.json
11
package.json
@ -24,9 +24,14 @@
|
||||
"parcel": "^2.8.3",
|
||||
"parcel-reporter-static-files-copy": "^1.5.0"
|
||||
},
|
||||
"staticFiles": {
|
||||
"staticPath": "src/img"
|
||||
},
|
||||
"staticFiles": [
|
||||
{
|
||||
"staticPath": "src/img/zzz.png"
|
||||
},
|
||||
{
|
||||
"staticPath": "src/img/cross.png"
|
||||
}
|
||||
],
|
||||
"scripts": {
|
||||
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
|
||||
"prebuild": "rm -rf dist/",
|
||||
|
||||
@ -90,10 +90,12 @@ function whoGoesFirst(a, b) {
|
||||
}
|
||||
// tie; compare reaction
|
||||
else {
|
||||
if ($(a).find(".combatant-rea").text() == "" || $(b).find(".combatant-rea").text() == "") {
|
||||
let reaA = $(a).find(".combatant-rea").attr("data-combatant-rea");
|
||||
let reaB = $(b).find(".combatant-rea").attr("data-combatant-rea");
|
||||
if (reaA == "" || reaB == "") {
|
||||
return 0;
|
||||
} else {
|
||||
return parseInt($(b).find(".combatant-rea").text()) - parseInt($(a).find(".combatant-rea").text());
|
||||
return parseInt(reaB) - parseInt(reaA);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user