File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -339,16 +339,6 @@ open class YNDropDownMenu: UIView, YNDropDownDelegate {
339339 self . addSubview ( button)
340340
341341 // Setup Views
342- if let _yNDropDownViews = yNDropDownViews ? [ i] {
343- _yNDropDownViews. frame. size = CGSize ( width: self . bounds. size. width, height: _yNDropDownViews. frame. height)
344- _yNDropDownViews. frame. origin. y = - _yNDropDownViews . frame . height + CGFloat( menuHeight)
345- _yNDropDownViews. tag = i + 100
346- _yNDropDownViews. isHidden = true
347-
348- self . addSubview ( _yNDropDownViews)
349- self . sendSubview ( toBack: _yNDropDownViews)
350- }
351-
352342 if let _dropDownMenu = dropDownViews ? [ i] {
353343 _dropDownMenu. frame. size = CGSize ( width: self . bounds. size. width, height: _dropDownMenu. frame. height)
354344 _dropDownMenu. frame. origin. y = - _dropDownMenu . frame . height + CGFloat( menuHeight)
You can’t perform that action at this time.
0 commit comments