Modified menu_calculate_top to works well with fixed menu option

This commit is contained in:
fermin831 2017-03-27 15:47:48 +02:00
parent 2b74fbe57e
commit d7fbc62eca
1 changed files with 1 additions and 1 deletions

View File

@ -746,7 +746,7 @@ function menu_calculate_top($level1, $level2, $level3 = false) {
}
// Positionate in the middle
if ($total > 12 && (($total < 18) || (($level1 - $comp) <= 2))) {
if ($total > 12 && (($total < 18) || (($level1 - $comp) <= 4))) {
return - ( floor($comp/2) * 35);
}
// Positionate in the bottom