mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix gold badge for ui scaling
This commit is contained in:
parent
434de4db1c
commit
c457b4bc75
1 changed files with 1 additions and 0 deletions
|
|
@ -435,6 +435,7 @@ class PlayMissionGui extends GuiImage {
|
|||
var goldBadge = ResourceLoader.getResource("data/ui/play/goldscore.png", ResourceLoader.getImage, this.imageResources).toTile();
|
||||
goldBadge.dy = 2.5;
|
||||
goldBadge.dx = 8;
|
||||
goldBadge.scaleToSize(goldBadge.width * Settings.uiScale, goldBadge.height * Settings.uiScale);
|
||||
|
||||
setSelectedFunc = function setSelected(index:Int) {
|
||||
if (index > currentList.length - 1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue