Only apply to small components (button, headline)
This commit is contained in:
parent
b5d528ef01
commit
adfb8d7c56
|
@ -67,7 +67,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//If element is at the very top of the screen, put the bar below the element
|
//If element is at the very top of the screen, put the bar below the element
|
||||||
if (elBounds.top < elBounds.height) {
|
if (elBounds.top < elBounds.height && elBounds.height < 80) {
|
||||||
newTop = elBounds.bottom + verticalOffset
|
newTop = elBounds.bottom + verticalOffset
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue