-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from XanatosX/bugfix/68-modal-windows-not-open…
…able Fix modal window not reopnable after minimizing app via tray
- Loading branch information
Showing
4 changed files
with
54 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/ModularToolManager/Models/Messages/ModalWindowOpened.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using CommunityToolkit.Mvvm.Messaging.Messages; | ||
|
||
namespace ModularToolManager.Models.Messages; | ||
|
||
/// <summary> | ||
/// Message if a modal window was opened or closed | ||
/// </summary> | ||
internal class ModalWindowOpened : ValueChangedMessage<bool> | ||
{ | ||
/// <summary> | ||
/// Create a new instance of this message | ||
/// </summary> | ||
/// <param name="isOpen">Bool if the modal window was opened (true) or closed (false)</param> | ||
public ModalWindowOpened(bool isOpen) : base(isOpen) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters