* add zoom center action button * enhance zoom calculation and scroll to center * add zoom out and center button * filter deleted elements * improve complexity * add key shortcut * calculate zoom value * don't render zoomCenter action * offset from top to account for shape menu * change shortcut & add to shortcut dialog * decrease offset * revert offset * change hotkey & description * rename to zoomToFit * change shortcut label & position Co-authored-by: dwelle <luzar.david@gmail.com>
47 lines
1.1 KiB
TypeScript
47 lines
1.1 KiB
TypeScript
export { actionDeleteSelected } from "./actionDeleteSelected";
|
|
export {
|
|
actionBringForward,
|
|
actionBringToFront,
|
|
actionSendBackward,
|
|
actionSendToBack,
|
|
} from "./actionZindex";
|
|
export { actionSelectAll } from "./actionSelectAll";
|
|
export { actionDuplicateSelection } from "./actionDuplicateSelection";
|
|
export {
|
|
actionChangeStrokeColor,
|
|
actionChangeBackgroundColor,
|
|
actionChangeStrokeWidth,
|
|
actionChangeFillStyle,
|
|
actionChangeSloppiness,
|
|
actionChangeOpacity,
|
|
actionChangeFontSize,
|
|
actionChangeFontFamily,
|
|
actionChangeTextAlign,
|
|
} from "./actionProperties";
|
|
|
|
export {
|
|
actionChangeViewBackgroundColor,
|
|
actionClearCanvas,
|
|
actionZoomIn,
|
|
actionZoomOut,
|
|
actionResetZoom,
|
|
actionZoomToFit,
|
|
} from "./actionCanvas";
|
|
|
|
export { actionFinalize } from "./actionFinalize";
|
|
|
|
export {
|
|
actionChangeProjectName,
|
|
actionChangeExportBackground,
|
|
actionSaveScene,
|
|
actionLoadScene,
|
|
} from "./actionExport";
|
|
|
|
export { actionCopyStyles, actionPasteStyles } from "./actionStyles";
|
|
export {
|
|
actionToggleCanvasMenu,
|
|
actionToggleEditMenu,
|
|
actionFullScreen,
|
|
actionShortcuts,
|
|
} from "./actionMenu";
|