mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-06-08 23:34:08 +02:00
Increase the delay before taking a screenshot
This commit is contained in:
parent
1cbcd5c2da
commit
4c54876ecf
@ -15,7 +15,7 @@ public FormNotificationScreenshotable(Action callback, Form owner) : base(owner,
|
|||||||
|
|
||||||
browser.FrameLoadEnd += (sender, args) => {
|
browser.FrameLoadEnd += (sender, args) => {
|
||||||
if (args.Frame.IsMain && browser.Address != "about:blank"){
|
if (args.Frame.IsMain && browser.Address != "about:blank"){
|
||||||
ScriptLoader.ExecuteScript(args.Frame, "window.setTimeout($TD_NotificationScreenshot.trigger, 25)", "gen:screenshot");
|
ScriptLoader.ExecuteScript(args.Frame, "window.setTimeout($TD_NotificationScreenshot.trigger, 67)", "gen:screenshot");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user