Skip to content

Commit

Permalink
change margin
Browse files Browse the repository at this point in the history
  • Loading branch information
BattleRush committed Oct 9, 2024
1 parent 63b968b commit d20159e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ETHDINFKBot/Modules/FoodModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ private bool AllowedToRun(BotPermissionType type)
kcalFont.FakeBoldText = false;

canvas.DrawText(menu.Calories > 0 ? menu.Calories + " kcal" : "n/a kcal", new SKPoint(left, usedHeight), kcalFont);
usedHeight += 15;
usedHeight += 18;

// if menu has Weight then show it
if (menu.Weight > 0)
{
canvas.DrawText(menu.Weight + " g weight", new SKPoint(left, usedHeight), kcalFont);
usedHeight += 20;
usedHeight += 18;
}

if (menuUserSettings?.FullNutritions == true)
Expand Down

0 comments on commit d20159e

Please sign in to comment.