mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-24 11:21:44 +00:00
display gamepad opacity
This commit is contained in:
parent
c57bb60fcb
commit
e54dd5cfa3
@ -584,7 +584,9 @@
|
||||
<td
|
||||
data-x={cell.xIndex}
|
||||
style="padding: {padding}rem; background-color: #{getContrastColor(cell.color)}"
|
||||
class="opacity-0 hover:opacity-50"
|
||||
class="{gamepad && gameCoords.x === cell.xIndex && gameCoords.y === cell.yIndex
|
||||
? 'opacity-50'
|
||||
: 'opacity-0'} hover:opacity-50"
|
||||
on:mousemove={setMousePixel}
|
||||
/>
|
||||
{/each}
|
||||
|
Loading…
Reference in New Issue
Block a user