mirror of
https://github.com/hangwin/mcp-chrome.git
synced 2026-10-30 18:21:36 +08:00
fix: add constant
This commit is contained in:
@@ -28,7 +28,7 @@ const SCREENSHOT_CONSTANTS = {
|
||||
readonly SCRIPT_INIT_DELAY: number;
|
||||
};
|
||||
|
||||
SCREENSHOT_CONSTANTS["CAPTURE_STITCH_DELAY_MS"] = Math.max(1000 / chrome.tabs.MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND - SCREENSHOT_CONSTANTS.SCROLL_DELAY_MS, 50)
|
||||
SCREENSHOT_CONSTANTS["CAPTURE_STITCH_DELAY_MS"] = Math.max(1000 / chrome.tabs.MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND - SCREENSHOT_CONSTANTS.SCROLL_DELAY_MS, SCREENSHOT_CONSTANTS.CAPTURE_STITCH_DELAY_MS)
|
||||
|
||||
interface ScreenshotToolParams {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user