Skip to content

Commit

Permalink
Update MaterialForm.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor authored Nov 15, 2024
1 parent e293e30 commit ecdea1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ReaLTaiizor/Forms/Form/MaterialForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ protected override void OnPaint(PaintEventArgs e)
{
using MaterialNativeTextRenderer NativeText = new(g);
Rectangle textLocation = new(12, 5, ClientSize.Width, ClientSize.Height);
NativeText.DrawTransparentText(Text, SkinManager.GetLogFontByType(MaterialSkinManager.FontType.Caption),
NativeText.DrawTransparentText(Text, SkinManager.GetLogFontByType(MaterialSkinManager.FontType.Subtitle2),
SkinManager.ColorScheme.TextColor,
textLocation.Location,
textLocation.Size,
Expand Down Expand Up @@ -1419,4 +1419,4 @@ private static IntPtr SetWindowLongPtr(IntPtr hWnd, int nIndex, IntPtr dwNewLong
}

#endregion
}
}

0 comments on commit ecdea1e

Please sign in to comment.