Rename close to hide and change icon

This commit is contained in:
Infi
2024-07-08 12:10:27 +02:00
parent bea2f51192
commit cd750a3ccb
7 changed files with 32 additions and 30 deletions
+4 -2
View File
@@ -174,8 +174,10 @@ public class FontManager
});
FontAwesome = Plugin.Interface.UiBuilder.FontAtlas.NewDelegateFontHandle(e =>
e.OnPreBuild(tk => tk.AddFontAwesomeIconFont(new SafeFontConfig { SizePx = Plugin.Config.FontSize })
));
{
e.OnPreBuild(tk => tk.AddFontAwesomeIconFont(new SafeFontConfig { SizePx = Plugin.Config.FontSize }));
e.OnPostBuild(tk => tk.FitRatio(tk.Font));
});
RegularFont = Plugin.Interface.UiBuilder.FontAtlas.NewDelegateFontHandle(
e => e.OnPreBuild(