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

+2 -1
View File
@@ -1,3 +1,4 @@
#include "Document/DocumentLimits.h"
#include "Document/EditorSession.h"
#include <QtTest>
@@ -272,7 +273,7 @@ void GroupTests::projectErrorsCarryTheirMessages()
const ProjectError tooLarge(ProjectError::Kind::tooLarge);
QCOMPARE(tooLarge.kind, ProjectError::Kind::tooLarge);
QCOMPARE(QString(tooLarge.what()),
QString("This project exceeds the supported canvas, layer, file-size, or 100-megapixel image limit."));
QStringLiteral("This project exceeds the supported canvas, layer, file-size, or %1-megapixel document limit.").arg(DocumentLimits::documentBudgetMegapixels()));
const ProjectError encode(ProjectError::Kind::encode);
QCOMPARE(encode.kind, ProjectError::Kind::encode);