1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Home - Fixed GitHub icon

This commit is contained in:
Robert 2022-09-14 19:35:16 +02:00
parent 87bf85c2e4
commit 9106359515
2 changed files with 4 additions and 3 deletions

View File

@ -49,15 +49,16 @@ public class WindowSize
try
{
// The -8 seems to be a FluentAvalonia thing?
_applying = true;
if (IsMaximized)
{
window.Position = new PixelPoint(MaximizedLeft, MaximizedTop);
window.Position = new PixelPoint(Math.Max(-8, MaximizedLeft), Math.Max(-8, MaximizedTop));
window.WindowState = WindowState.Maximized;
}
else
{
window.Position = new PixelPoint(Left, Top);
window.Position = new PixelPoint(Math.Max(-8, Left), Math.Max(-8, Top));
window.Height = Height;
window.Width = Width;
window.WindowState = WindowState.Normal;

View File

@ -70,7 +70,7 @@
<Grid Margin="8" RowDefinitions="*,*">
<controls:HyperlinkButton Grid.Row="0" NavigateUri="https://github.com/Artemis-RGB/Artemis">
<StackPanel Orientation="Horizontal">
<avalonia:MaterialIcon Kind="Gift" />
<avalonia:MaterialIcon Kind="Github" />
<TextBlock Margin="8 0 0 0" VerticalAlignment="Center">GitHub</TextBlock>
</StackPanel>
</controls:HyperlinkButton>