feat(web): solver output enhancing
- math render header - tooltips - copy word to input - cancel solver
This commit is contained in:
@@ -69,6 +69,13 @@
|
||||
class:bg-green-600={colors[i] === Color.GREEN}
|
||||
class:bg-yellow-600={colors[i] === Color.YELLOW}
|
||||
class:bg-grey-600={colors[i] === Color.GREY}
|
||||
onclick={() => {
|
||||
if (cursor === i) {
|
||||
colors[cursor] = (colors[cursor] + 1) % 3;
|
||||
} else {
|
||||
cursor = i;
|
||||
}
|
||||
}}
|
||||
>
|
||||
{letter}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user