-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: Update scale event with custom recognizer #3782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
stilnat
wants to merge
87
commits into
flame-engine:main
Choose a base branch
from
stilnat:recognizer-v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 49 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
b95ce23
add component based scaling gesture
stilnat 4b8bc31
rename multi scale to scale
stilnat 487e579
Delete my_tests_2 directory
stilnat 01e81cd
Delete my_tests directory
stilnat 8701f00
fix typo and format example
stilnat 8b7105a
fix spelling
stilnat 9723f97
remove TODO
stilnat 28e24bf
format scale dispatcher
stilnat 9c2acf6
remove automatically create multi drag dispatcher in Scale dispatcher
stilnat 975bbdb
remove french
stilnat bea44fc
format scale dispatcher
stilnat d6f78cb
test first batch
stilnat 987f977
add new test
stilnat f7b7153
format and change zoom api
stilnat cbc2333
fix name not recognised
stilnat 6162fb3
format fix
stilnat 528e665
Merge branch 'main' into scale-gesture
stilnat f945eea
fix melos analyse
stilnat 8ddce28
format stuff
stilnat 1ce9618
Merge remote-tracking branch 'upstream/main' into scale-gesture
stilnat c18fd0c
Merge branch 'main' into scale-gesture
spydon bf69b48
fix vector 2 creations
stilnat 5369f79
add doc
stilnat c6e9b98
Merge branch 'main' into scale-gesture
stilnat 0d10332
markdown fixes
stilnat 4a8f8ad
Merge branch 'scale-gesture' of https://github.com/stilnat/flame into…
stilnat 4441db2
fix markdown
stilnat 47eb614
rename is scaled
stilnat 64fe308
analyse fix
stilnat 42f0d18
fix lint
stilnat d5b0086
add stuff about scale drag dispatcher
stilnat 77df27a
add scale drag
stilnat bd6bd89
make gesture more than one sequence
stilnat d6995a8
add test
stilnat 9a010d3
update recognizer
stilnat f1cd9eb
working recognizer pass all tests
stilnat b78a284
rewrite scale and drag callbacks without testing
stilnat 0ff1070
make test pass without scaledrag callbacks
stilnat b21afe3
fix drag and scale callbacks to upgrade to scaleDragDispatcher
stilnat bf1398a
add a bunch of tests
stilnat 58e986f
fix format and stuff
stilnat 38d5e8c
make test include drag better
stilnat 7e65ee6
factor test helper
stilnat 2aa5be5
Merge remote-tracking branch 'upstream/main' into recognizer-v2
stilnat be53a17
rename scale example to scale drag
stilnat 51b2308
remove french
stilnat 31813e5
make consistent extension
stilnat 5d58587
update doc
stilnat b34e0ca
fix small stuff
stilnat 233d991
Update doc/flame/inputs/scale_events.md
stilnat b3c4b5b
Fix bugs, cleanup, and polish MultiDragScale recognizer PR
spydon c6a0b1c
Merge remote-tracking branch 'origin/main' into recognizer-v2
spydon b6e089e
test: Add dispatcher lifecycle and upgrade path tests
spydon 7d260b3
feat: Add dynamic scale & drag example
spydon a77ceb0
docs: Document combining ScaleCallbacks and DragCallbacks
spydon 9e23b3e
fix: Put control body on separate line in ScaleDispatcher
spydon 82b4c3f
refactor: Remove unnecessary hide imports and run dart format
spydon 77b94dc
Merge branch 'main' into recognizer-v2
spydon 390a8cf
Update packages/flame/lib/src/events/multi_drag_scale_recognizer.dart
spydon 03990fb
fix: Remove unused dragStartBehavior from MultiDragScaleGestureRecogn…
spydon 3be0f7c
fix: Remove unused material.dart import from MultiDragDispatcher
spydon 15a30aa
fix: Restore dt-based camera updates in scale_drag_example
spydon 5904421
fix: Gate MultiDragDispatcher onStart callback when marked for removal
spydon 2edf728
docs: Document markForRemoval gesture overlap behavior
spydon d980fb3
fix: Use scale focal point for drag updates during pinch gestures
spydon 7968c39
fix: Compute focalPointDelta in global coordinates
spydon 18276f0
chore: Rewrite timedZoomFrom test helper to remove CC BY-SA code
spydon 31fa8ff
refactor: Remove abbreviations in timedZoomFrom test helper
spydon ad729ce
chore: Merge main into recognizer-v2
spydon acc0d12
fix: Remove markForRemoval in favor of immediate removal with cancel …
spydon 6a16df8
fix: Restore markForRemoval - keep active gestures, reject new ones
spydon 5f9cacb
fix: Re-initialize span baseline when second pointer is added
spydon cbfaf9e
test: Add rotation test for MultiDragScaleGestureRecognizer
spydon 0d7017c
fix: Handle rejectGesture scale teardown and stale drag components
spydon 47d51f2
fix: Each pointer fires its own drag update independently during scale
spydon fdf4b86
fix: Guard _dispose against double-resolving the arena entry
spydon f2a4163
Use Vector2.all everywhere in the example
spydon 2e2623c
fix: Handle stale scale components in onScaleUpdate dispatchers
spydon a73da2e
fix: Prevent double translation in DragScaleBox example
spydon 3a9a5e4
refactor: Extract dispatcher selection logic to shared helper
spydon 9ebb9a2
refactor: Unify to single MultiDragScaleGestureRecognizer for all eve…
spydon 7698025
fix: Update DynamicScaleDrag example to remove deleted dispatcher ref…
spydon e619fb9
fix: Remove dispatcher label from DynamicScaleDrag example
spydon b00f105
docs: Remove Dynamic addition sections from drag and scale event docs
spydon 1498956
chore: Remove superseded scale_drag_example
spydon e442e1c
fix: Disable recognizer flags when last DragCallbacks/ScaleCallbacks …
spydon 43defb4
refactor: Address review feedback on recognizer-v2 PR
spydon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.