Compare commits
No commits in common. "b925c85c22b6d7de871e6b4e6f458685d28038c7" and "6c637fd9fa9af72183e9468713d66e9da99b9982" have entirely different histories.
b925c85c22
...
6c637fd9fa
13
TODO.md
13
TODO.md
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
|
|
||||||
### fixed
|
|
||||||
|
|
||||||
- x Bug: KO/dead buttons fkt. nicht
|
- x Bug: KO/dead buttons fkt. nicht
|
||||||
- applyDamage, ersetze erste Zeile: let $btn = $(e.target).is("button") ? $(e.target) : $(e.target).parents("button")[0];
|
- 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
|
- x Bug: Kann nicht weit genug runterscrollen für remove bzw die unteren schadenskastchen
|
||||||
@ -45,17 +43,6 @@
|
|||||||
|
|
||||||
- x Änderungen im edit modal werden nicht mehr übernommen
|
- x Änderungen im edit modal werden nicht mehr übernommen
|
||||||
- war ein fehlendes let in editCombatant() -> wo das nur wieder herkam …
|
- 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!
|
- 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
|
- 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
|
- 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,14 +24,9 @@
|
|||||||
"parcel": "^2.8.3",
|
"parcel": "^2.8.3",
|
||||||
"parcel-reporter-static-files-copy": "^1.5.0"
|
"parcel-reporter-static-files-copy": "^1.5.0"
|
||||||
},
|
},
|
||||||
"staticFiles": [
|
"staticFiles": {
|
||||||
{
|
"staticPath": "src/img"
|
||||||
"staticPath": "src/img/zzz.png"
|
},
|
||||||
},
|
|
||||||
{
|
|
||||||
"staticPath": "src/img/cross.png"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
|
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
|
||||||
"prebuild": "rm -rf dist/",
|
"prebuild": "rm -rf dist/",
|
||||||
|
|||||||
@ -90,12 +90,10 @@ function whoGoesFirst(a, b) {
|
|||||||
}
|
}
|
||||||
// tie; compare reaction
|
// tie; compare reaction
|
||||||
else {
|
else {
|
||||||
let reaA = $(a).find(".combatant-rea").attr("data-combatant-rea");
|
if ($(a).find(".combatant-rea").text() == "" || $(b).find(".combatant-rea").text() == "") {
|
||||||
let reaB = $(b).find(".combatant-rea").attr("data-combatant-rea");
|
|
||||||
if (reaA == "" || reaB == "") {
|
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
return parseInt(reaB) - parseInt(reaA);
|
return parseInt($(b).find(".combatant-rea").text()) - parseInt($(a).find(".combatant-rea").text());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user