Move timeline to settings

This commit is contained in:
1ilit 2024-02-19 14:14:32 +02:00
parent 38943d80f2
commit 781b5b8143

View File

@ -1167,6 +1167,9 @@ export default function ControlPanel({
},
},
Settings: {
"Show timeline": {
function: () => setSidesheet(SIDESHEET.TIMELINE),
},
Autosave: {
function: () =>
setSettings((prev) => {
@ -2233,14 +2236,6 @@ export default function ControlPanel({
<IconSaveStroked size="extra-large" />
</button>
</Tooltip>
<Tooltip content="Timeline" position="bottom">
<button
className="py-1 px-2 hover-2 rounded text-xl"
onClick={() => setSidesheet(SIDESHEET.TIMELINE)}
>
<i className="fa-solid fa-timeline"></i>
</button>
</Tooltip>
<Tooltip content="To-do" position="bottom">
<button
className="py-1 px-2 hover-2 rounded text-xl"