@@ -53,7 +53,7 @@ extension GKTooltipViewController {
53
53
private func showTip( with view: UIView ) {
54
54
gkTooltipPopup. configure ( with: dataSource. gkTooltipPopupModels [ currentNodeIndex] )
55
55
gkTooltipPopup. frame = gkTooltipPopup. getRect ( )
56
- let preferences = getTipPrefences ( bubbleHInset: gkTooltipPopup. bubleH, bubleVInset : gkTooltipPopup. bubleV)
56
+ let preferences = getTipPrefences ( bubbleHInset: gkTooltipPopup. bubleH, bubbleVInset : gkTooltipPopup. bubleV)
57
57
let tipView = EasyTipView ( contentView: gkTooltipPopup, preferences: preferences, delegate: nil )
58
58
tipView. show ( forView: view)
59
59
self . tipView = tipView
@@ -65,7 +65,7 @@ extension GKTooltipViewController {
65
65
private func showTip( with barItem: UIBarItem ) {
66
66
gkTooltipPopup. configure ( with: dataSource. gkTooltipPopupModels [ currentNodeIndex] )
67
67
gkTooltipPopup. frame = gkTooltipPopup. getRect ( )
68
- let preferences = getTipPrefences ( bubbleHInset: gkTooltipPopup. bubleH, bubleVInset : gkTooltipPopup. bubleV)
68
+ let preferences = getTipPrefences ( bubbleHInset: gkTooltipPopup. bubleH, bubbleVInset : gkTooltipPopup. bubleV)
69
69
let tipView = EasyTipView ( contentView: gkTooltipPopup, preferences: preferences, delegate: nil )
70
70
tipView. show ( forItem: barItem)
71
71
self . tipView = tipView
@@ -74,7 +74,7 @@ extension GKTooltipViewController {
74
74
gkTooltipPopup. updatePadding ( by: ( self . tipView? . preferences. drawing. arrowPosition) !)
75
75
}
76
76
77
- private func getTipPrefences( bubbleHInset: CGFloat , bubleVInset : CGFloat ) -> EasyTipView . Preferences {
77
+ private func getTipPrefences( bubbleHInset: CGFloat , bubbleVInset : CGFloat ) -> EasyTipView . Preferences {
78
78
var preferences = EasyTipView . globalPreferences
79
79
preferences. drawing. backgroundColor = . pureWhite
80
80
preferences. drawing. cornerRadius = 10
@@ -87,7 +87,7 @@ extension GKTooltipViewController {
87
87
preferences. animating. dismissDuration = GKTooltip . popupAnimationDuration
88
88
89
89
preferences. positioning. bubbleHInset = bubbleHInset
90
- preferences. positioning. bubbleVInset = 32
90
+ preferences. positioning. bubbleVInset = bubbleVInset
91
91
92
92
return preferences
93
93
}
0 commit comments