fix menu glitches

This commit is contained in:
Daniel Napora 2021-01-15 11:57:29 +01:00
parent 5f2a3964ce
commit 908f6a672c

View File

@ -584,7 +584,7 @@ case $LANG in
es*) CANCEL="Cancelar";;
*) CANCEL="Cancel";;
esac
jgtools_padding=${jgtools_padding:-0}
JGWIDTH=$(expr $jgtools_padding + "348" + $jgtools_padding)
MENU_PADDING_TOP=$(expr $jgtools_padding + 221)
TABS="250"
@ -656,6 +656,7 @@ case $LANG in
CANCEL="Cancel"
;;
esac
jgtools_padding=${jgtools_padding:-0}
JGWIDTH=$(expr $jgtools_padding + "348" + $jgtools_padding)
MENU_PADDING_TOP=$(expr $jgtools_padding + 221)
MENU_HALIGN="center"
@ -721,7 +722,7 @@ MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
POSITION_MODE=${1:-pointer}
HIDE_BACK_ITEMS=1
MENU_PADDING_TOP=${jgtools_padding}
MENU_PADDING_TOP=${jgtools_padding:-0}
TABS="90"
[ $jgmenu_use_icons == false ] && jgmenu_icon_size=0