Closed kuloodporny closed 3 years ago
Looks good, although I frown about the usage of switch statement with no early exits, resulting in repeated substring search:
switch (true) do {
case ("cargo" in _x): {
Ideally the type of the seat should be cached somewhere, perhaps as vehicle variable, so that isEqualTo can be used instead of multiple substring searches.
Recognizing which icon stands for which position takes time and effort because they all look the same.
Can we please have the inactive icons match the type of seat even when not interacting with it?