From 27f4dc6177a641efa34570d9fbbb3f5c5c0ecffb Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Wed, 1 Dec 2021 13:19:10 -0500 Subject: [PATCH] Adjusts app min width to account for larger left pane --- app/main.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/main.ts b/app/main.ts index 20a518d28c..b1ccb651e9 100644 --- a/app/main.ts +++ b/app/main.ts @@ -392,7 +392,11 @@ function handleCommonWindowEvents(window: BrowserWindow) { const DEFAULT_WIDTH = 800; const DEFAULT_HEIGHT = 610; -const MIN_WIDTH = 680; +// LARGEST_LEFT_PANE_WIDTH = 380 +// TIMELINE_WIDTH = 300 +// TIMELINE_MARGIN = 16 + 16 +// 712 = LARGEST_LEFT_PANE_WIDTH + TIMELINE_WIDTH + TIMELINE_MARGIN +const MIN_WIDTH = 712; const MIN_HEIGHT = 550; const BOUNDS_BUFFER = 100;