From ac6023ffef2d4cf8801c10477ee2c653bc5193b3 Mon Sep 17 00:00:00 2001 From: eamon <1142343535@qq.com> Date: Mon, 22 Apr 2019 15:07:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0setProgressColor=EF=BC=8C?= =?UTF-8?q?setMenuViewStyle=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMPageController/WMPageController.m | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/WMPageController/WMPageController.m b/WMPageController/WMPageController.m index b72c62a..50f7251 100755 --- a/WMPageController/WMPageController.m +++ b/WMPageController/WMPageController.m @@ -166,6 +166,20 @@ - (void)setProgressViewWidths:(NSArray *)progressViewWidths { } } +- (void)setProgressColor:(UIColor *)progressColor { + _progressColor = progressColor; + if (self.menuView) { + self.menuView.lineColor = progressColor; + } +} + +- (void)setMenuViewStyle:(WMMenuViewStyle)menuViewStyle { + _menuViewStyle = menuViewStyle; + if (self.menuView) { + self.menuView.style = menuViewStyle; + } +} + - (void)setMenuViewContentMargin:(CGFloat)menuViewContentMargin { _menuViewContentMargin = menuViewContentMargin; if (self.menuView) {