mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-31 15:48:41 +00:00
Correct screenshot timeout recovery advice (#78)
This commit is contained in:
1 parent
13664fe66b
commit
91d44508b1
1 file changed
+1
-1
@@ -403,7 +403,7 @@ pub fn collect_screenshots(app: &mut SheetApp, ctx: &egui::Context) {
|
||||
if now < *deadline {
|
||||
return true;
|
||||
}
|
||||
let _ = reply.send(json!({"ok": false, "error": "no frame was presented (screen locked or window hidden); use `gridcraft-cli snapshot`"}));
|
||||
let _ = reply.send(json!({"ok": false, "error": "no frame was presented before the screenshot timeout; make the window visible, use `ui.focus`, then retry `ui.screenshot`"}));
|
||||
false
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user