The document's own pixel budget, marching ants at screen resolution (12.11a)

This commit is contained in:
雷电芽衣 committed 2026-09-29 00:19:45 -04:00
1 parent ffba1753c6
commit 8a9c56ee1f
75 files changed
+759 -189

No files matched your search

+3 -3
View File
@@ -269,9 +269,9 @@ void AdjustmentEditorTests::theEditorOpensOnlyForItsRequest()
void AdjustmentEditorTests::aFailedRenderEndsTheRequest()
{
// Past the export's hundred million pixels: the render refuses.
// Past the export's one surface: the render refuses.
EditorSession session;
session.createDocument(10'001, 10'000);
session.createDocument(20'001, 10'000);
session.addAdjustment(AdjustmentKind::curves);
const int steps = session.history.undoCount();
int ran = 0;
@@ -481,7 +481,7 @@ void AdjustmentEditorTests::everyStepIsAnnouncedAndItsLastSignalSeesIt()
// A failed render's last signal sees the request end.
EditorSession huge;
connect(&huge, &EditorSession::changed, this, [&] { seen = described(huge); });
huge.createDocument(10'001, 10'000);
huge.createDocument(20'001, 10'000);
huge.addAdjustment(AdjustmentKind::levels);
seen.clear();
QVERIFY(opened(huge, huge.adjustmentEditingID().value()));