Cmen
3 years ago
12 changed files with 68 additions and 10 deletions
@ -0,0 +1,21 @@
|
||||
import { editorAction } from "@store"; |
||||
import MenuGroup from "./MenuGroup"; |
||||
|
||||
const EditMenu = () => { |
||||
return ( |
||||
<MenuGroup |
||||
{...{ |
||||
name: "编辑", |
||||
items: [ |
||||
{ |
||||
name: "清空覆盖物", |
||||
onClick: editorAction.clearOverlays, |
||||
hotkey: "Ctrl+Alt+C", |
||||
}, |
||||
], |
||||
}} |
||||
/> |
||||
); |
||||
}; |
||||
|
||||
export default EditMenu; |
Loading…
Reference in new issue