mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-11 05:05:23 +03:00
Clean up source code
This commit is contained in:
parent
d0e55b8549
commit
b239217a0d
@ -81,7 +81,7 @@ open class MacawZoom {
|
||||
}
|
||||
|
||||
private func getNewZoom() -> ZoomData {
|
||||
if touches.count == 0 || (touches.count == 1 && !trackMove) {
|
||||
if touches.isEmpty || (touches.count == 1 && !trackMove) {
|
||||
return zoomData
|
||||
}
|
||||
let s1 = touches[0].point
|
||||
|
Loading…
Reference in New Issue
Block a user