mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-27 07:09:38 -04:00
no more italics in client
This commit is contained in:
parent
15ed994993
commit
458b2574b4
@ -72,7 +72,7 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
|
||||
public override void Init() {
|
||||
font = new Font(game.FontName, 16);
|
||||
posFont = new Font(game.FontName, 16, FontStyle.Italic);
|
||||
posFont = new Font(game.FontName, 16, FontStyle.Regular);
|
||||
ContextRecreated();
|
||||
|
||||
game.Events.ChatFontChanged += ChatFontChanged;
|
||||
@ -95,7 +95,7 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
fpsText.SetText(msg);
|
||||
|
||||
posAtlas = new TextAtlas(game);
|
||||
posAtlas.Pack("0123456789-, ()", posFont, "Feet pos: ");
|
||||
posAtlas.Pack("0123456789-, ()", posFont, "Position: ");
|
||||
posAtlas.tex.Y = (short)(fpsText.Height + 2);
|
||||
|
||||
int yOffset = fpsText.Height + posAtlas.tex.Height + 2;
|
||||
|
@ -173,6 +173,8 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (chat.HandlesAllInput) return true;
|
||||
return hotbar.HandlesKeyUp(key);
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
|
||||
public override void Init() {
|
||||
titleFont = new Font(game.FontName, 16, FontStyle.Bold);
|
||||
regularFont = new Font(game.FontName, 16, FontStyle.Italic);
|
||||
regularFont = new Font(game.FontName, 16, FontStyle.Regular);
|
||||
base.Init();
|
||||
|
||||
if (keyNames == null)
|
||||
|
@ -150,7 +150,7 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
leftDesc = new string[] { "Left", "Middle", "Right" };
|
||||
|
||||
title = "Mouse key bindings";
|
||||
leftPage = (g, w) => g.Gui.SetNewScreen(new HacksKeyBindingsScreen(g));
|
||||
leftPage = (g, w) => g.Gui.SetNewScreen(new OtherKeyBindingsScreen(g));
|
||||
ContextRecreated();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user