fixed the gdpr screen having the wrong textures
This commit is contained in:
parent
218a437ca2
commit
37a0782134
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,6 @@ namespace TouchyTickets {
|
||||||
|
|
||||||
public Ui(UiSystem uiSystem) {
|
public Ui(UiSystem uiSystem) {
|
||||||
this.uiSystem = uiSystem;
|
this.uiSystem = uiSystem;
|
||||||
this.uiSystem.Style.PanelTexture = this.uiSystem.Style.ScrollBarBackground = new NinePatch(Texture[2, 1], 4);
|
|
||||||
this.uiSystem.Style.ButtonTexture = this.uiSystem.Style.ScrollBarScrollerTexture = new NinePatch(Texture[3, 1], 4);
|
|
||||||
this.uiSystem.Style.ActionSound = new SoundEffectInfo(MlemGame.LoadContent<SoundEffect>("Sounds/Click"), 0.5F);
|
this.uiSystem.Style.ActionSound = new SoundEffectInfo(MlemGame.LoadContent<SoundEffect>("Sounds/Click"), 0.5F);
|
||||||
this.uiSystem.TextFormatter.AddImage("ticket", Texture[2, 0]);
|
this.uiSystem.TextFormatter.AddImage("ticket", Texture[2, 0]);
|
||||||
this.uiSystem.TextFormatter.AddImage("star", Texture[3, 0]);
|
this.uiSystem.TextFormatter.AddImage("star", Texture[3, 0]);
|
||||||
|
@ -452,6 +450,8 @@ namespace TouchyTickets {
|
||||||
uiSystem.AutoScaleWithScreen = true;
|
uiSystem.AutoScaleWithScreen = true;
|
||||||
uiSystem.AutoScaleReferenceSize = new Point(720, 1280);
|
uiSystem.AutoScaleReferenceSize = new Point(720, 1280);
|
||||||
uiSystem.Style.Font = new GenericSpriteFont(MlemGame.LoadContent<SpriteFont>("Fonts/Regular"));
|
uiSystem.Style.Font = new GenericSpriteFont(MlemGame.LoadContent<SpriteFont>("Fonts/Regular"));
|
||||||
|
uiSystem.Style.PanelTexture = uiSystem.Style.ScrollBarBackground = new NinePatch(Texture[2, 1], 4);
|
||||||
|
uiSystem.Style.ButtonTexture = uiSystem.Style.ScrollBarScrollerTexture = new NinePatch(Texture[3, 1], 4);
|
||||||
uiSystem.Style.TextScale = 0.1F;
|
uiSystem.Style.TextScale = 0.1F;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue