Skip to content

Commit

Permalink
fix-animation-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hongxinhope committed Jan 5, 2016
1 parent aed20a8 commit b04744c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions SegmentedControl/SegmentedControl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ public class SegmentedControl: UIControl {
selectionIndicatorLayer.actions = ["position": NSNull(), "bounds": NSNull()]
selectionBoxLayer.frame = frameForSelectionBox()
selectionIndicatorLayer.frame = frameForSelectionIndicator()
} else {
selectionBoxLayer.actions = nil
selectionIndicatorLayer.actions = nil
}
}

Expand Down
2 changes: 1 addition & 1 deletion SegmentedControl/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<string>0.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions SegmentedControlExample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<string>0.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down

0 comments on commit b04744c

Please sign in to comment.