[ui] PlanetGarden: Analysis, review, lessons and the tablet smoke that always stops Chrome

This commit is contained in:
2026-11-17 19:56:24 +01:00
parent 1ff00b0e3f
commit f0cb6750c4
13 changed files with 467 additions and 8 deletions
+5
View File
@@ -40,6 +40,11 @@ describe('pulling a weed', () => {
expect(isPull(line(at(100, 200), at(100, 120), GESTURE.pullMs + 1))).toBe(false);
expect(isPull(line(at(100, 200), at(100, 280), 300))).toBe(false);
});
it('far enough up but more sideways than up is not a pull (only the direction decides)', () => {
expect(isPull(line(at(100, 200), at(200, 140), 300))).toBe(false);
expect(isPull(line(at(100, 200), at(150, 140), 300))).toBe(true);
});
});
describe('sweeping the petals', () => {