🎨 Updates joystick colors to be darker

This commit is contained in:
Rune Harlyk
2024-08-17 21:29:56 +02:00
parent db01879419
commit 63459acc7f
+4 -4
View File
@@ -23,18 +23,18 @@
onMount(() => {
left = nipplejs.create({
zone: document.getElementById('left') as HTMLElement,
color: 'grey',
color: '#15191e80',
dynamicPage: true,
mode: 'static',
restOpacity: 0.3
restOpacity: 1
});
right = nipplejs.create({
zone: document.getElementById('right') as HTMLElement,
color: 'grey',
color: '#15191e80',
dynamicPage: true,
mode: 'static',
restOpacity: 0.3
restOpacity: 1
});
left.on('move', (_, data) => handleJoyMove('left', data.vector));