change side panel start width and set width minimum (#309)

Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
This commit is contained in:
FromTheLOLAshesandChristopher Oliphant authored and GitHub committed 2024-05-03 12:48:41 -04:00
1 parent 3e81855b02
commit 022e34b8a1
2 files changed
+2 -2

No files matched your search

@@ -19,7 +19,7 @@ export const useMouseEventsSidePanel = () => {
const delta = event.clientX - clientX;
event.stopPropagation();
event.preventDefault();
if (sidePanelWidth.value - delta < 0) {
if (sidePanelWidth.value - delta < 240) {
return;
}
if (sidePanelWidth.value - delta > 443) {
+1 -1
View File
@@ -87,7 +87,7 @@ export default function App() {
pageWidth.value = window.innerWidth;
}
timelineHeight.value = window.innerHeight * 0.25;
sidePanelWidth.value = 443;
sidePanelWidth.value = 340;
setPage();