Skip to content

Commit

Permalink
Merge pull request #383 from chrismayer/keyboard-bg-switch
Browse files Browse the repository at this point in the history
Allow switching base layer by keyboard (ENTER)
  • Loading branch information
chrismayer authored Apr 25, 2024
2 parents 0c17a54 + 245216e commit 743abc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/bglayerswitcher/BgLayerList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'onsecondary--text': active
}"
@click="toggle"
@keyup.enter="toggle"
>
<wgu-layerpreviewimage
:layer="layer"
Expand Down

0 comments on commit 743abc3

Please sign in to comment.