Skip to content

Commit 135923c

Browse files
committed
2.1.9
1 parent 524e0a9 commit 135923c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

FWSegmentedControl/FWSegmentedControl.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "FWSegmentedControl"
19-
s.version = "2.1.8"
19+
s.version = "2.1.9"
2020
s.summary = "滑动分段控制,多样式、灵活、便利是其最大的优势。"
2121

2222
# This description is used to generate tags and improve search results.

FWSegmentedControl/FWSegmentedControl/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ViewController: UIViewController, UIScrollViewDelegate {
7575
segmentedControl.selectionIndicatorHeight = 3
7676

7777
segmentedControl.titleTextAttributes = [NSAttributedStringKey.foregroundColor: UIColor.gray, NSAttributedStringKey.font : UIFont.systemFont(ofSize: kSegmentTitleFont)]
78-
segmentedControl.selectedTitleTextAttributes = [NSAttributedStringKey.foregroundColor: UIColor.red, NSAttributedStringKey.backgroundColor: UIColor.clear, NSAttributedStringKey.font: UIFont.systemFont(ofSize: 20)]
78+
segmentedControl.selectedTitleTextAttributes = [NSAttributedStringKey.foregroundColor: UIColor.red, NSAttributedStringKey.backgroundColor: UIColor.clear, NSAttributedStringKey.font: UIFont.systemFont(ofSize: kSegmentTitleFont)]
7979

8080
segmentedControl.autoresizingMask = [.flexibleRightMargin, .flexibleLeftMargin]
8181

0 commit comments

Comments
 (0)