Skip to content

Commit

Permalink
fix(mobile-plugin): 修复手势启用/禁用逻辑错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zhttyyyyy authored and gemxx committed Aug 12, 2024
1 parent 15ae5f2 commit 6b0e36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/xgplayer/src/plugins/mobile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,12 @@ class MobilePlugin extends Plugin {

// 动态禁用手势
disableGesture () {
this.config.disableGesture = false
this.config.disableGesture = true
}

// 动态启用手势
enableGesture () {
this.config.disableGesture = true
this.config.disableGesture = false
}

destroy () {
Expand Down

0 comments on commit 6b0e36b

Please sign in to comment.