Skip to content

Commit

Permalink
feat: version 1.0.0-rc.4
Browse files Browse the repository at this point in the history
- Change Clear Text and Focus Mode to ctrl, not shift

- Fix max-width for the action
  • Loading branch information
GabsEdits committed Jun 13, 2024
1 parent 4d95275 commit 6edaf5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "keimeno",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
8 changes: 4 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export default function Home() {

useEffect(() => {
const handleKeyDown = (event: KeyboardEvent) => {
if (event.shiftKey && event.key === "C") {
if (event.ctrlKey && event.key === "c") {
clearText();
}
if (event.shiftKey && event.key === "F") {
if (event.ctrlKey && event.key === "f") {
toggleFocusMode();
}
if (event.ctrlKey && event.key === "b") {
Expand Down Expand Up @@ -319,13 +319,13 @@ export default function Home() {
<ul>
<li className="mb-2">
<span className="font-bold p-1 rounded-md bg-neutral-300 dark:bg-neutral-700">
Shift + C
Ctrl + C
</span>{" "}
: Clear text
</li>
<li className="mb-2">
<span className="font-bold p-1 rounded-md bg-neutral-300 dark:bg-neutral-700">
Shift + F
Ctrl + F
</span>{" "}
: Toggle Focus Mode
</li>
Expand Down

0 comments on commit 6edaf5b

Please sign in to comment.