fix: block pan on context menu

pull/6534/head
Konstantinos Kaloutas 2022-08-31 15:46:07 +03:00
parent fb8302e09c
commit 27c0f0ebdd
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ export class TLApp<
}
readonly onWheel: TLEvents<S, K>['wheel'] = (info, e) => {
if (e.ctrlKey) {
if (e.ctrlKey || this.isIn('select.contextMenu')) {
return
}