tldraw/state/commands/index.ts

24 lines
475 B
TypeScript
Raw Normal View History

2021-05-15 13:02:13 +00:00
import translate from "./translate"
import transform from "./transform"
2021-05-19 09:35:00 +00:00
import transformSingle from "./transform-single"
2021-05-17 10:01:11 +00:00
import generate from "./generate"
2021-05-17 21:27:18 +00:00
import direct from "./direct"
import rotate from "./rotate"
2021-05-23 17:09:23 +00:00
import move from "./move"
2021-05-26 10:34:10 +00:00
import style from "./style"
2021-05-23 17:09:23 +00:00
import deleteSelected from "./delete-selected"
2021-05-13 06:44:52 +00:00
2021-05-15 15:20:21 +00:00
const commands = {
translate,
transform,
2021-05-19 09:35:00 +00:00
transformSingle,
2021-05-17 10:01:11 +00:00
generate,
2021-05-17 21:27:18 +00:00
direct,
rotate,
2021-05-23 17:09:23 +00:00
move,
2021-05-26 10:34:10 +00:00
style,
2021-05-23 17:09:23 +00:00
deleteSelected,
2021-05-15 15:20:21 +00:00
}
2021-05-13 06:44:52 +00:00
export default commands