Skip to content

Commit

Permalink
Fixed dismissGesture issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Boryk, Andrew [GTSUS] committed Mar 28, 2018
1 parent 276f149 commit 194fdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SideViewManager/Classes/SideViewManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public class SideViewManager {
}

let sideFrame = view.frame
let loc = recognizer.location(in: sideView)
let loc = recognizer.location(in: view)
if loc.x < 0 || loc.x > sideFrame.width {
move(to: 0)
} else if loc.y < 0 || loc.y > sideFrame.height {
Expand Down

0 comments on commit 194fdd2

Please sign in to comment.