From f11218e90e3640a1ba833e16af517766b7e5d184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9tudiant?= Date: Tue, 28 May 2024 09:19:36 +0200 Subject: [PATCH] change corner of button :lipstick: --- DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift b/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift index 6a893d5..402941e 100644 --- a/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift +++ b/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift @@ -32,10 +32,10 @@ struct MainMenuView: View { VStack { HStack { VStack(spacing: 25) { - MainMenuButton(text: "Play", destination: ScoreBoardView(), sound: "TitleScreenButtonSound") - MainMenuButton(text: "Historique", destination: HistoricView(), sound: "TitleScreenButtonSound") - MainMenuButton(text: "Best Scores", destination: ScoreBoardView(), sound: "TitleScreenButtonSound") - MainMenuButton(text: "Players", destination: PlayersView(), sound: "TitleScreenButtonSound") + MainMenuButton(text: "Play", destination: ScoreBoardView(), sound: "TitleScreenButtonSound", topRightCorner: 10, bottomRightCorner: 10) + MainMenuButton(text: "Historique", destination: HistoricView(), sound: "TitleScreenButtonSound", topRightCorner: 10, bottomRightCorner: 10) + MainMenuButton(text: "Best Scores", destination: ScoreBoardView(), sound: "TitleScreenButtonSound", topRightCorner: 10, bottomRightCorner: 10) + MainMenuButton(text: "Players", destination: PlayersView(), sound: "TitleScreenButtonSound", topRightCorner: 10, bottomRightCorner: 10) } Image(AppImages.SemiLion) .resizable()