Remove transition from resource table rows (hopefully temporarily)
This commit is contained in:
parent
9b9992a015
commit
0e5e19b150
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
{#if !collapsed}
|
{#if !collapsed}
|
||||||
{#each resources as [resourceName, resource], index}
|
{#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 colspan="2">{resourceName}</td>
|
||||||
<td>{resource.amount}</td>
|
<td>{resource.amount}</td>
|
||||||
<td>{Math.round(100 * (resource.change + Number.EPSILON)) / 100}/s</td>
|
<td>{Math.round(100 * (resource.change + Number.EPSILON)) / 100}/s</td>
|
||||||
|
|
Reference in a new issue