good place in terms of the resizing and all

This commit is contained in:
talksik
2022-05-02 08:07:20 -05:00
parent a97748d83d
commit 9144ad6e1a
4 changed files with 12 additions and 10 deletions
+3 -3
View File
@@ -232,7 +232,7 @@ export default function NirvanaRouter() {
console.log(
"window blurring now, should be always on top and then ill tell main process to change dimensions"
);
setDesktopMode("overlayOnly");
// setDesktopMode("overlayOnly");
});
}, [setDesktopMode]);
@@ -241,7 +241,7 @@ export default function NirvanaRouter() {
// always have overlay so need to calculate that
const overlayDimensions: Dimensions = {
height: 50 + numberOfOverlayRows * 200,
width: 325 + numberOfOverlayColumns,
width: 350 * numberOfOverlayColumns,
};
const setAlwaysOnTop = desktopMode === "overlayOnly";
@@ -301,7 +301,7 @@ export default function NirvanaRouter() {
);
return (
<div className="flex flex-col h-screen w-screen">
<div className="flex flex-col">
<NirvanaHeader onHeaderFocus={() => setDesktopMode("terminal")} />
<div className="flex flex-row flex-1">