[ui] PlanetGarden: Analysis, review, lessons and the tablet smoke that always stops Chrome
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user