diff --git a/src/actions/actionMenu.tsx b/src/actions/actionMenu.tsx index 80a5c2b1..b259d726 100644 --- a/src/actions/actionMenu.tsx +++ b/src/actions/actionMenu.tsx @@ -3,7 +3,6 @@ import { ToolButton } from "../components/ToolButton"; import { t } from "../i18n"; import { showSelectedShapeActions, getNonDeletedElements } from "../element"; import { register } from "./register"; -import { allowFullScreen, exitFullScreen, isFullScreen } from "../utils"; import { KEYS } from "../keys"; export const actionToggleCanvasMenu = register({ @@ -52,23 +51,6 @@ export const actionToggleEditMenu = register({ ), }); -export const actionFullScreen = register({ - name: "toggleFullScreen", - viewMode: true, - trackEvent: { category: "canvas", predicate: (appState) => !isFullScreen() }, - perform: () => { - if (!isFullScreen()) { - allowFullScreen(); - } - if (isFullScreen()) { - exitFullScreen(); - } - return { - commitToHistory: false, - }; - }, -}); - export const actionShortcuts = register({ name: "toggleShortcuts", viewMode: true, diff --git a/src/actions/index.ts b/src/actions/index.ts index 1e72aa48..b4551acf 100644 --- a/src/actions/index.ts +++ b/src/actions/index.ts @@ -44,7 +44,6 @@ export { actionCopyStyles, actionPasteStyles } from "./actionStyles"; export { actionToggleCanvasMenu, actionToggleEditMenu, - actionFullScreen, actionShortcuts, } from "./actionMenu"; diff --git a/src/components/HelpDialog.tsx b/src/components/HelpDialog.tsx index b27823fc..961158c0 100644 --- a/src/components/HelpDialog.tsx +++ b/src/components/HelpDialog.tsx @@ -254,7 +254,6 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => { label={t("helpDialog.movePageLeftRight")} shortcuts={["Shift+PgUp/PgDn"]} /> -