fix menu glitches
This commit is contained in:
parent
5f2a3964ce
commit
908f6a672c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user