MetalScope icon indicating copy to clipboard operation
MetalScope copied to clipboard

Add isDeviceMotionEnabled & isPanGestureEnabled

Open junpluse opened this issue 7 years ago • 0 comments

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 avatar Oct 01 '17 14:10 junpluse