Skip to content

Commit

Permalink
Adjusts app min width to account for larger left pane
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-signal authored Dec 1, 2021
1 parent e030b3d commit 27f4dc6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 27f4dc6

Please sign in to comment.