mirror of https://github.com/logseq/logseq
fix: block pan on context menu
parent
fb8302e09c
commit
27c0f0ebdd
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue