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

Commit

Permalink
Add Togglable conformity to Rotatable and Scalable.
Browse files Browse the repository at this point in the history
Reviewers: O2 Material Motion, O4 Material Apple platform reviewers, #material_motion, markwei

Reviewed By: O2 Material Motion, O4 Material Apple platform reviewers, #material_motion, markwei

Tags: #material_motion

Differential Revision: http://codereview.cc/D3076
  • Loading branch information
Jeff Verkoeyen committed Apr 19, 2017
1 parent ab44321 commit f90e15b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interactions/Rotatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import UIKit

CGFloat constraints may be applied to this interaction.
*/
public final class Rotatable: Gesturable<UIRotationGestureRecognizer>, Interaction, Stateful {
public final class Rotatable: Gesturable<UIRotationGestureRecognizer>, Interaction, Togglable, Stateful {
public func add(to view: UIView,
withRuntime runtime: MotionRuntime,
constraints applyConstraints: ConstraintApplicator<CGFloat>? = nil) {
Expand Down
2 changes: 1 addition & 1 deletion src/interactions/Scalable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import UIKit

CGFloat constraints may be applied to this interaction.
*/
public final class Scalable: Gesturable<UIPinchGestureRecognizer>, Interaction, Stateful {
public final class Scalable: Gesturable<UIPinchGestureRecognizer>, Interaction, Togglable, Stateful {
public func add(to view: UIView,
withRuntime runtime: MotionRuntime,
constraints applyConstraints: ConstraintApplicator<CGFloat>? = nil) {
Expand Down

0 comments on commit f90e15b

Please sign in to comment.