Skip to content

Conversation

@BeksOmega
Copy link
Contributor

@BeksOmega BeksOmega commented Mar 28, 2024

The basics

The details

Resolves

Fixes #7840

Proposed Changes

Adds a block drag strategy to confirm to the new dragging API. Most of this is just taken from the existing block dragger.

Test Coverage

Tested with following PRs that change the gesture system. Once those are in I can do some more thorough testing.

Documentation

N/A

Additional Information

Dependent on #7968

@github-actions github-actions bot added the PR: feature Adds a feature label Mar 28, 2024
@github-actions github-actions bot added PR: feature Adds a feature and removed PR: feature Adds a feature labels Mar 28, 2024
@BeksOmega BeksOmega force-pushed the feat/drag-block-dragger branch from ffad2d4 to 9395112 Compare March 28, 2024 22:13
const {local: currLocal, neighbour: currNeighbour} = currCandiate;
const localPos = new Coordinate(currLocal.x, currLocal.y);
const neighbourPos = new Coordinate(currNeighbour.x, currNeighbour.y);
const distance = Coordinate.distance(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

distance -> currDistance

@BeksOmega BeksOmega marked this pull request as ready for review March 28, 2024 22:41
@BeksOmega BeksOmega requested a review from a team as a code owner March 28, 2024 22:41
@BeksOmega BeksOmega requested a review from NeilFraser March 28, 2024 22:41
@BeksOmega BeksOmega force-pushed the feat/drag-block-dragger branch from 9395112 to 7d55936 Compare March 28, 2024 22:42
@BeksOmega BeksOmega merged commit 8b6e9d8 into RaspberryPiFoundation:rc/v11.0.0 Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants