Skip to content

Commit

Permalink
Hide overlay during events; v1.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jltaylor-us committed Mar 1, 2021
1 parent fda5347 commit 93c7058
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# Release Notes

## Version 1.8.2

* Hide the overlay during events

## Version 1.8.1

* Updates to Russian translation from nexusmods user Newrotd
Expand Down
1 change: 1 addition & 0 deletions ToDew/ToDoOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ private void OnRenderedWorld(object sender, RenderedWorldEventArgs e) {
if (lines.Count == 0) return;
if (!config.enabled) return; // shouldn't get this far, but why not check anyway
if (Game1.game1.takingMapScreenshot) return;
if (Game1.eventUp || Game1.farmEvent != null) return;
if (config.hideAtFestivals && Game1.isFestival()) return;
var spriteBatch = e.SpriteBatch;
float topPx = marginTop;
Expand Down
2 changes: 1 addition & 1 deletion ToDew/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "To-Dew",
"Author": "Jamie Taylor",
"Version": "1.8.1",
"Version": "1.8.2",
"Description": "An in-game To-do list",
"UniqueID": "jltaylor-us.ToDew",
"EntryDll": "ToDew.dll",
Expand Down

0 comments on commit 93c7058

Please sign in to comment.