Clicked text on its baseline, live text on the Move tool's double click, SVG import (12.11c)

This commit is contained in:
雷电芽衣 committed 2026-09-29 10:55:10 -04:00
1 parent 008493b0a3
commit 8fbb104c48
34 files changed
+572 -47

No files matched your search

+1 -1
View File
@@ -405,7 +405,7 @@ void TypeControlsTests::aTextRowShowsAndOpensItsText()
QVERIFY(QTest::qWaitForWindowActive(&list));
LayerCell &textRow = *list.cells().at(0), &blankRow = *list.cells().at(1);
const auto dimensions = [](LayerCell &row) { return row.findChild<QLabel *>("layerDimensions")->text(); };
QCOMPARE(dimensions(textRow), QString("Text"));
QCOMPARE(dimensions(textRow), QString("Text · Double-click to edit"));
QCOMPARE(dimensions(blankRow), QString("400 × 300 px"));
QCOMPARE(textRow.thumbnail().toolTip(), QString("Editable text layer"));
QCOMPARE(textRow.thumbnail().accessibleName(), QString("Select text: Row"));