Skip to content

Commit

Permalink
4.0.4 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell authored Mar 14, 2024
1 parent 7cbcf91 commit c0e0c0a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for Palette

## 4.0.4 - 2024-03-14

### Fixed
- Explicitly define CTRL and META keys for better compatibility

## 4.0.3 - 2024-03-14

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "trendyminds/craft-palette",
"description": "A command palette to easily jump to specific areas within Craft",
"type": "craft-plugin",
"version": "4.0.3",
"version": "4.0.4",
"keywords": ["palette", "craft", "craft cms", "cmdk", "spotlight", "craft plugin"],
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion scripts/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Modal() {
const [context, setContext] = useContext()

// prettier-ignore
useHotkeys('meta+k', () => {
useHotkeys(['ctrl+k, meta+k'], () => {
setOpen((prev) => !prev)
setContext('ACTIONS')
}, { enableOnFormTags: true, preventDefault: true })
Expand Down
2 changes: 1 addition & 1 deletion src/assetbundles/resources/Init.js

Large diffs are not rendered by default.

0 comments on commit c0e0c0a

Please sign in to comment.