Remove transition from resource table rows (hopefully temporarily)

This commit is contained in:
Tobias Berger 2021-10-05 13:03:06 +02:00
parent 9b9992a015
commit 0e5e19b150

View file

@ -16,7 +16,7 @@
</tr>
{#if !collapsed}
{#each resources as [resourceName, resource], index}
<tr transition:fade class:even={index % 2 === 0} class:odd={index % 2 === 1}>
<tr class:even={index % 2 === 0} class:odd={index % 2 === 1}>
<td colspan="2">{resourceName}</td>
<td>{resource.amount}</td>
<td>{Math.round(100 * (resource.change + Number.EPSILON)) / 100}/s</td>