Skip to content

Commit

Permalink
docs: note about why use debug close menu
Browse files Browse the repository at this point in the history
  • Loading branch information
seankmartin committed Sep 23, 2024
1 parent 54a20d2 commit 4230a4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/screenshot_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ import {

// If true, the menu can be closed by clicking the close button
// Usually the user is locked into the screenshot menu until the screenshot is taken or cancelled
// Setting this to true, and setting the SCREENSHOT_MENU_CLOSE_TIMEOUT in screenshot_manager.ts
// to a high value can be useful for debugging canvas handling of the resize

const DEBUG_ALLOW_MENU_CLOSE = false;
const LARGE_SCREENSHOT_SIZE = 4096 * 4096;

Expand Down

0 comments on commit 4230a4c

Please sign in to comment.