mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-26 17:45:34 +01:00
Adjusts app min width to account for larger left pane
This commit is contained in:
+5
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user