From d594941dede77ef3d61abb9abb0b92da296baf01 Mon Sep 17 00:00:00 2001 From: Remi Regnault Date: Mon, 27 May 2024 11:57:39 +0200 Subject: [PATCH] :lipstick: main button top and bottom right corner are round --- 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()