Skip to content
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

Add mouseButton prop #2676

Merged
merged 44 commits into from
Jan 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
cb67ac2
Remove context menu
m-bert Nov 17, 2023
bd3b6a9
Add prop
m-bert Nov 17, 2023
441c02c
Change enum order to match web
m-bert Nov 17, 2023
f82e08a
Change enum
m-bert Nov 17, 2023
6e1c651
Fix field in TouchEventManager
m-bert Nov 17, 2023
9731777
Implement logic on tap
m-bert Nov 17, 2023
edd5c2c
Add example
m-bert Nov 17, 2023
75f94b2
Merge branch 'main' into @mbert/web-right-click
m-bert Nov 20, 2023
eeb5ada
Change type
m-bert Nov 20, 2023
f414760
Another type change
m-bert Nov 20, 2023
fd7e0bb
Yet another type change
m-bert Nov 20, 2023
5373c13
change condition
m-bert Nov 20, 2023
0e2aaf8
Add check to other gestures
m-bert Nov 20, 2023
ecfcee2
Update example
m-bert Nov 20, 2023
6284ab3
Change View to ScrollView
m-bert Nov 20, 2023
64ff5d4
remove console.log
m-bert Nov 21, 2023
193e240
Change button names
m-bert Nov 21, 2023
0cbaebd
Change MouseButtons name in App
m-bert Nov 21, 2023
f77f453
Add MouseButton.ALL
m-bert Nov 21, 2023
09e11fd
Rename function
m-bert Nov 21, 2023
577724b
Merge branch 'main' into @mbert/web-right-click
m-bert Nov 21, 2023
7501737
Merge branch 'main' into @mbert/web-right-click
m-bert Nov 21, 2023
2d39d22
Merge branch 'main' into @mbert/web-right-click
m-bert Dec 6, 2023
ac10025
Merge branch 'main' into @mbert/web-right-click
m-bert Dec 14, 2023
7b660b4
Merge branch 'main' into @mbert/web-right-click
m-bert Dec 18, 2023
fbe82e2
Add enableContextMenu to builder
m-bert Dec 18, 2023
8f518b0
Merge branch 'main' into @mbert/web-right-click
m-bert Dec 19, 2023
0a1a18d
False now turns off context menu
m-bert Dec 19, 2023
1107e38
Move enableContextMenu to GestureDetector
m-bert Dec 19, 2023
6bd1c79
Add context menu example
m-bert Dec 20, 2023
19aa15b
Remove listeners on handler drop
m-bert Dec 20, 2023
063889e
Update example
m-bert Dec 20, 2023
5313243
Merge main
m-bert Jan 12, 2024
47e72e1
Merge branch 'main' into @mbert/web-right-click
m-bert Jan 15, 2024
60b8487
Change example
m-bert Jan 15, 2024
9ece9f9
Remove EnableContextMenu alias
m-bert Jan 15, 2024
2327174
Remove bounded listeners
m-bert Jan 15, 2024
1da7bfb
Remove finalize to onDestroy
m-bert Jan 15, 2024
26c4b3c
Restore default context menu blockade in LongPress
m-bert Jan 15, 2024
8279c90
Add destroy to WebDelegate
m-bert Jan 15, 2024
471002e
Restore bounded listeners
m-bert Jan 15, 2024
7432cdd
Revert "Restore bounded listeners"
m-bert Jan 15, 2024
c75fdb7
Change binding to this:void
m-bert Jan 15, 2024
f357411
Add destroy to delegate interface
m-bert Jan 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix field in TouchEventManager
  • Loading branch information
m-bert committed Nov 17, 2023
commit 6e1c651539866cf9e27ca71c59ea25ac77ffb357
2 changes: 1 addition & 1 deletion src/web/tools/TouchEventManager.ts
Original file line number Diff line number Diff line change
@@ -156,7 +156,7 @@ export default class TouchEventManager extends EventManager<HTMLElement> {
pointerId: event.changedTouches[index].identifier,
eventType: eventType,
pointerType: PointerType.TOUCH,
buttons: null,
button: null,
time: event.timeStamp,
allTouches: event.touches,
changedTouches: event.changedTouches,