From 8cda80cefe64621cfc41d0965efc168f9e54a997 Mon Sep 17 00:00:00 2001
From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com>
Date: Fri, 1 Aug 2025 18:06:11 +1000
Subject: [PATCH] terminal in drawer
---
src/SharpIDE.Photino/Layout/MainLayout.razor | 21 ++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/src/SharpIDE.Photino/Layout/MainLayout.razor b/src/SharpIDE.Photino/Layout/MainLayout.razor
index 59736d9..4f7bcd1 100644
--- a/src/SharpIDE.Photino/Layout/MainLayout.razor
+++ b/src/SharpIDE.Photino/Layout/MainLayout.razor
@@ -16,9 +16,14 @@
Restore
-
-
-
+
+
+
+
+
+
+
+
@if (_solutionFilePath is not null)
@@ -35,17 +40,25 @@
}
-
+
+ Terminal
+
+
@code {
bool _drawerOpen = true;
+ bool _terminalDrawerOpen = false;
void DrawerToggle()
{
_drawerOpen = !_drawerOpen;
}
+ void TerminalDrawerToggle()
+ {
+ _terminalDrawerOpen = !_terminalDrawerOpen;
+ }
private string? _solutionFilePath;
private SharpIdeSolutionModel? _solutionModel;