mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
Disable ShowActivated on notifications to avoid focus stealing (#98)
The recently updated avalonia seemed to change behavior in a way that caused notifications to steal focus from the game (often at at inopportune times). Not all users experienced this.
This commit is contained in:
parent
3a9b4da2b7
commit
9b34d50d32
@ -25,10 +25,10 @@ namespace Observatory.UI.Views
|
||||
this.guid = guid;
|
||||
InitializeComponent();
|
||||
SystemDecorations = SystemDecorations.None;
|
||||
ShowActivated = false;
|
||||
ShowInTaskbar = false;
|
||||
MakeClickThrough(); //Platform specific, currently windows only.
|
||||
|
||||
|
||||
this.DataContextChanged += NotificationView_DataContextChanged;
|
||||
scale = Properties.Core.Default.NativeNotifyScale / 100.0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user