mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Revert Rich Text (#2363)
This commit is contained in:
@@ -385,10 +385,9 @@ namespace Robust.Client.UserInterface.Controls
|
||||
[System.Diagnostics.Contracts.Pure]
|
||||
private Font _getFont()
|
||||
{
|
||||
TryGetStyleProperty<FontClass>("font", out var font);
|
||||
if (TryGetStyleProperty<IFontLibrary>("font-library", out var flib))
|
||||
if (TryGetStyleProperty<Font>("font", out var font))
|
||||
{
|
||||
return flib.StartFont(font).Current;
|
||||
return font;
|
||||
}
|
||||
|
||||
return UserInterfaceManager.ThemeDefaults.DefaultFont;
|
||||
|
||||
Reference in New Issue
Block a user