mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-05-05 08:18:54 +00: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;
|
|
}
|
|
}
|
|
}
|