Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Add isDeviceMotionEnabled & isPanGestureEnabled #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

junpluse
Copy link
Collaborator

@junpluse junpluse commented Oct 1, 2017

Summary

Provides options to disable device motions and pan gestures in PanoramaView.

Detail

Add following new properties to PanoramaView:

// PanoramaView.swift

public var isDeviceMotionEnabled: Bool { get set }

public var isPanGestureEnabled: Bool { get set }

Also make PanoramaPanGestureManager public to allow detailed settings of pan gesture.

// PanoramaView.swift

public lazy var panGestureManager: PanoramaPanGestureManager { get set }

@junpluse junpluse self-assigned this Oct 1, 2017
@junpluse junpluse mentioned this pull request Oct 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant