From 3b8ac1641a8a40849915396813e26384b5894911 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Thu, 4 May 2023 16:41:06 +0200 Subject: UI: Move ApplicationContextMenu in a separated class (#4755) * UI: Move ApplicationContextMenu in a separated class This PR remove duplicated code related to the context menu on the Application list/grid by create a control for the menu which include related handler. I've renamed "GameList/GameGrid" by "Application" for consistencies. And I've removed all uneeded field from the project file too. While I cleaned up things, I've found an issue about purging Ptc/Shader cache, both methods list files even if the user say "No", shader cache is purged even if the user say "No". It's fixed. * Adresses feedbacks --- src/Ryujinx.Ava/UI/Windows/MainWindow.axaml | 8 ++++---- src/Ryujinx.Ava/UI/Windows/MainWindow.axaml.cs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/Ryujinx.Ava/UI/Windows') diff --git a/src/Ryujinx.Ava/UI/Windows/MainWindow.axaml b/src/Ryujinx.Ava/UI/Windows/MainWindow.axaml index de01f90f..fa07d977 100644 --- a/src/Ryujinx.Ava/UI/Windows/MainWindow.axaml +++ b/src/Ryujinx.Ava/UI/Windows/MainWindow.axaml @@ -88,16 +88,16 @@ - -