mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Adjusts app min width to account for larger left pane
This commit is contained in:
@@ -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