Merge branch 'master' of github.com:stardew-access/stardew-access
commit
dc12fe99c8
|
@ -23,15 +23,13 @@ namespace stardew_access.Patches
|
||||||
{
|
{
|
||||||
int x = Game1.getMousePosition(true).X, y = Game1.getMousePosition(true).Y;
|
int x = Game1.getMousePosition(true).X, y = Game1.getMousePosition(true).Y;
|
||||||
|
|
||||||
|
ScreenReader.sayWithMenuChecker(___message, true);
|
||||||
if(__instance.okButton.containsPoint(x, y))
|
if(__instance.okButton.containsPoint(x, y))
|
||||||
{
|
{
|
||||||
ScreenReader.sayWithMenuChecker("Ok Button", false);
|
ScreenReader.sayWithMenuChecker("Ok Button", false);
|
||||||
} else if (__instance.cancelButton.containsPoint(x, y))
|
} else if (__instance.cancelButton.containsPoint(x, y))
|
||||||
{
|
{
|
||||||
ScreenReader.sayWithMenuChecker("Cancel Button", false);
|
ScreenReader.sayWithMenuChecker("Cancel Button", false);
|
||||||
} else
|
|
||||||
{
|
|
||||||
ScreenReader.sayWithMenuChecker(___message, true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Reference in New Issue