mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-12-24 14:53:43 +00:00
* Don’t use ContentDialogHelper when not necessary * Remove `ExtendClientAreaToDecorationsHint`
21 lines
601 B
C#
21 lines
601 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Media;
|
|
|
|
namespace Ryujinx.Ava.UI.Windows
|
|
{
|
|
public partial class ContentDialogOverlayWindow : StyleableWindow
|
|
{
|
|
public ContentDialogOverlayWindow()
|
|
{
|
|
InitializeComponent();
|
|
|
|
TransparencyLevelHint = new[] { WindowTransparencyLevel.Transparent };
|
|
WindowStartupLocation = WindowStartupLocation.Manual;
|
|
SystemDecorations = SystemDecorations.None;
|
|
ExtendClientAreaTitleBarHeightHint = 0;
|
|
Background = Brushes.Transparent;
|
|
CanResize = false;
|
|
}
|
|
}
|
|
}
|