Fix TabControls using the wrong sample

This commit is contained in:
Jamie Taylor 2022-04-28 17:30:24 +09:00
parent 027ba17844
commit 92cac0b74e
No known key found for this signature in database
GPG Key ID: 2ACFA8B6370B8C8C
2 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,8 @@ private void load()
Size = new Vector2(12),
Icon = getIconForCardSize(Value)
}
}
},
new HoverClickSounds(HoverSampleSet.TabSelect)
};
}

View File

@ -149,7 +149,7 @@ public TabButton(T value)
}
});
AddInternal(new HoverClickSounds());
AddInternal(new HoverClickSounds(HoverSampleSet.TabSelect));
}
protected override void LoadComplete()