From d20159ebe6f2ed1341362630ebb8714d733bca97 Mon Sep 17 00:00:00 2001 From: Karlo Piskor Date: Wed, 9 Oct 2024 17:07:07 +0200 Subject: [PATCH] change margin --- ETHDINFKBot/Modules/FoodModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ETHDINFKBot/Modules/FoodModule.cs b/ETHDINFKBot/Modules/FoodModule.cs index c03ddd3..41bb003 100644 --- a/ETHDINFKBot/Modules/FoodModule.cs +++ b/ETHDINFKBot/Modules/FoodModule.cs @@ -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)