Add setting for disabling panning

This commit is contained in:
1ilit
2023-11-24 01:32:26 +02:00
parent f312b943e6
commit 045715cff9
3 changed files with 23 additions and 1 deletions

View File

@@ -58,6 +58,8 @@ export default function Editor(props) {
pan: { x: 0, y: 0 },
showGrid: true,
mode: "light",
autosave: true,
panning: true,
});
const [tasks, setTasks] = useState([]);
const [messages, setMessages] = useState([]);