forked from github/plane
fix: mac text copy fix (#277)
This commit is contained in:
parent
7950f191e7
commit
9c8c7f1dda
@ -105,7 +105,7 @@ export const CommandPalette: React.FC = () => {
|
|||||||
if ((e.ctrlKey || e.metaKey) && (e.key === "k" || e.key === "K")) {
|
if ((e.ctrlKey || e.metaKey) && (e.key === "k" || e.key === "K")) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
setIsPaletteOpen(true);
|
setIsPaletteOpen(true);
|
||||||
} else if (e.ctrlKey && (e.key === "c" || e.key === "C")) {
|
} else if ((e.ctrlKey || e.metaKey) && (e.key === "c" || e.key === "C")) {
|
||||||
if (e.altKey) {
|
if (e.altKey) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (!router.query.issueId) return;
|
if (!router.query.issueId) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user