Skip to content

Commit

Permalink
Minor revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
joncardasis committed Aug 24, 2016
1 parent 7a31815 commit 4984982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file not shown.
5 changes: 2 additions & 3 deletions ChromaColorPicker/ChromaColorPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import UIKit

public protocol ChromaColorPickerDelegate {
/* Called when the user tapps the add button in the center */
/* Called when the user taps the add button in the center */
func colorPickerDidChooseColor(colorPicker: ChromaColorPicker, color: UIColor)
}

Expand Down Expand Up @@ -185,7 +185,6 @@ public class ChromaColorPicker: UIControl {
self.updateHexLabel()
}


func addButtonPressed(sender: ChromaAddButton){
//Do a 'bob' animation
UIView.animateWithDuration(0.2,
Expand Down Expand Up @@ -249,7 +248,7 @@ public class ChromaColorPicker: UIControl {


//MARK: - Layout Updates
/* re-layout view and all its subview and drawings */
/* Re-layout view and all its subview and drawings */
public func layout() {
self.setNeedsDisplay() //mark view as dirty

Expand Down

0 comments on commit 4984982

Please sign in to comment.