feat: ajouter un peu de marge au menu fancy

This commit is contained in:
Kazhnuz 2021-12-31 15:40:30 +01:00
parent 3c90fd1fe8
commit b779a55eb7

View file

@ -9,6 +9,7 @@ function FancyMenu:new(name, x, y, w, itemNumber, haveBiseau)
self.itemNumber = itemNumber
self.box = gui.newChoiceBack(self.w + 24)
self.cursorTexture = love.graphics.newImage("assets/gui/cursor-menulist.png")
self.canvas.padding = 24
end
function FancyMenu:getDimensions()