mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
added button to switch between dark and light colour schemes - fix
This commit is contained in:
parent
253188dcee
commit
f1b21f4f0a
@ -16,10 +16,10 @@
|
||||
|
||||
async function switchScheme(isClicked) {
|
||||
if (isClicked == true) {
|
||||
jtd.setTheme("light");
|
||||
jtd.setTheme("eyetrackvr");
|
||||
}
|
||||
else {
|
||||
jtd.setTheme("eyetrackvr");
|
||||
jtd.setTheme("light");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Loading…
Reference in New Issue
Block a user