mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
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:
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
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user