mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-05-11 21:17:43 +02:00

* Don’t use ContentDialogHelper when not necessary * Remove `ExtendClientAreaToDecorationsHint`
20 lines
601 B
C#
20 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;
|
|
}
|
|
}
|
|
}
|