Fixed issue with timeline size change

This commit is contained in:
FromTheLOLAshes committed 2024-04-01 21:28:11 +07:00
1 parent 2b4650d656
commit df79be9aff
1 file changed
+17 -15
+17 -15
View File
@@ -38,25 +38,27 @@ export const LowerPanel = ({ children }: LowerPanelPropsI) => {
);
return (
<div
className={[
"absolute bottom-0",
"w-screen overflow-auto",
"bg-ui-panel",
].join(" ")}
style={{ height: displayHeight }}
onPointerOver={() => {
overTimeline.value = true;
}}
onPointerLeave={() => (overTimeline.value = false)}
onPointerDown={onTimelineClick}
>
<>
<div
className="w-full cursor-ns-resize bg-ui-panel-border"
style={{ height: 3, zIndex: 1000 }}
onPointerDown={onPointerDown}
/>
{children}
</div>
<div
className={[
"absolute bottom-0",
"w-screen overflow-auto",
"bg-ui-panel",
].join(" ")}
style={{ height: displayHeight - 3 }}
onPointerOver={() => {
overTimeline.value = true;
}}
onPointerLeave={() => (overTimeline.value = false)}
onPointerDown={onTimelineClick}
>
{children}
</div>
</>
);
};