Review 1 fixes for 13.7, 13.14, 13.15: a lost tab release ends the drag (Swift's dragTimer); pins for the pill spacing, the Ungroup chord, the eye under the arrows, the Quick Look digest

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 20:00:30 -04:00
1 parent 81894f744a
commit 6735aad4ef
9 files changed
+64 -21

No files matched your search

+5
View File
@@ -91,6 +91,11 @@ void LayerDragGestureTests::altShowsTheClippingAndDuplicateCursors()
QCOMPARE(drawn.pixelColor(25, 23).alpha(), 255);
QCOMPARE(drawn.copy(0, 0, 18, 18), image(CanvasView::duplicateCursor(1)).copy(0, 0, 18, 18));
QCOMPARE(image(CanvasView::duplicateCursor(1)).pixelColor(23, 23).alpha(), 0);
// The arrows lie over the eye: opaque arrow pixels stay.
const QImage arrows = image(CanvasView::duplicateCursor(1));
for (int y = 0; y < arrows.height(); ++y)
for (int x = 0; x < arrows.width(); ++x)
QVERIFY(arrows.pixelColor(x, y).alpha() < 255 || drawn.pixelColor(x, y) == arrows.pixelColor(x, y));
session->setIsImporting(true);
QCOMPARE(image(shown.list.cursorFor(mask, Qt::AltModifier)), image(NativeLayerList::showMaskCursor(ratio)));
QCOMPARE(shown.list.cursorFor(mask, Qt::ControlModifier).shape(), Qt::ArrowCursor);