Fixed confirmation menu bug | Beta Release 1.0.16

master
shoaib11120 2022-01-14 11:22:15 +05:30
parent 389710778a
commit 7d15ea3684
2 changed files with 5 additions and 2 deletions

View File

@ -113,7 +113,7 @@ namespace stardew_access.Patches
try try
{ {
#region Skip narrating hover text for certain menus #region Skip narrating hover text for certain menus
if (Game1.activeClickableMenu is TitleMenuPatches && !((Game1.activeClickableMenu as TitleMenu).GetChildMenu() is CharacterCustomization)) if (Game1.activeClickableMenu is TitleMenu && !((Game1.activeClickableMenu as TitleMenu).GetChildMenu() is CharacterCustomization))
return; return;
if (Game1.activeClickableMenu is LetterViewerMenu || Game1.activeClickableMenu is QuestLog) if (Game1.activeClickableMenu is LetterViewerMenu || Game1.activeClickableMenu is QuestLog)
@ -142,6 +142,9 @@ namespace stardew_access.Patches
if (Game1.activeClickableMenu is ShopMenu) if (Game1.activeClickableMenu is ShopMenu)
return; return;
if (Game1.activeClickableMenu is ConfirmationDialog)
return;
#endregion #endregion
StringBuilder toSpeak = new StringBuilder(" "); StringBuilder toSpeak = new StringBuilder(" ");

View File

@ -1,7 +1,7 @@
{ {
"Name": "Stardew Access", "Name": "Stardew Access",
"Author": "Mohammad Shoaib", "Author": "Mohammad Shoaib",
"Version": "1.0.15-beta", "Version": "1.0.16-beta",
"Description": "An accessibility mod with screen reader support!", "Description": "An accessibility mod with screen reader support!",
"UniqueID": "shoaib.stardewaccess", "UniqueID": "shoaib.stardewaccess",
"EntryDll": "stardew-access.dll", "EntryDll": "stardew-access.dll",