Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
the-sane committed Dec 26, 2023
1 parent 6d8a892 commit bd85dd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lug-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2388,10 +2388,12 @@ if [ -x "$(command -v zenity)" ]; then
# menu_text_height_zenity4 = Add extra pixels to the menu title/description height for libadwaita bigness
if [ "$zenity_version" != "4.0.0" ] &&
[ "$zenity_version" = "$(printf "%s\n%s" "$zenity_version" "4.0.0" | sort -V | head -n1)" ]; then
# zenity 3.x menu sizing
menu_option_height="26"
menu_text_height_zenity4="0"
menu_height_max="400"
else
# zenity 4.x+ menu sizing
menu_option_height="45"
menu_text_height_zenity4="90"
menu_height_max="800"
Expand Down

0 comments on commit bd85dd2

Please sign in to comment.