Closed tintinthong closed 3 years ago
This looks like this works, the order is essential. Thanks for posting your issue, it turns out I wanted the same thing but I'm brand new to the .edn format so your sample helped get me started.
{{:des "Custom layers - toggle by single press only"
:rules [[[:j :i] ["symbol-layer" 0] :symbol-layer]
[[:j :i] ["symbol-layer" 1]]]}}
My editor is saying there's an error on that formatter ... so ... hopefully that's close enough.
This looks like this works, the order is essential. Thanks for posting your issue, it turns out I wanted the same thing but I'm brand new to the .edn format so your sample helped get me started.
{{:des "Custom layers - toggle by single press only" :rules [[[:j :i] ["symbol-layer" 0] :symbol-layer] [[:j :i] ["symbol-layer" 1]]]}}
My editor is saying there's an error on that formatter ... so ... hopefully that's close enough.
Cheers @chrismo ! it works for me. : )
I have found that using key chords to raise and lower layers are better with a single press (as opposed to held) if I don't want to pollute my current keybindings.
How can I enter and exit a layer using the same key chord?
I want to press