mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix bootstrapper icon ordering
This commit is contained in:
parent
2d41d48719
commit
c1037f1a94
@ -4,6 +4,19 @@ namespace Bloxstrap.Extensions
|
||||
{
|
||||
static class BootstrapperIconEx
|
||||
{
|
||||
public static IReadOnlyCollection<BootstrapperIcon> Selections => new BootstrapperIcon[]
|
||||
{
|
||||
BootstrapperIcon.IconBloxstrap,
|
||||
BootstrapperIcon.Icon2022,
|
||||
BootstrapperIcon.Icon2019,
|
||||
BootstrapperIcon.Icon2017,
|
||||
BootstrapperIcon.IconLate2015,
|
||||
BootstrapperIcon.IconEarly2015,
|
||||
BootstrapperIcon.Icon2011,
|
||||
BootstrapperIcon.Icon2008,
|
||||
BootstrapperIcon.IconCustom
|
||||
};
|
||||
|
||||
// small note on handling icon sizes
|
||||
// i'm using multisize icon packs here with sizes 16, 24, 32, 48, 64 and 128
|
||||
// use this for generating multisize packs: https://www.aconvert.com/icon/
|
||||
|
@ -49,7 +49,7 @@ namespace Bloxstrap.UI.ViewModels.Menu
|
||||
{
|
||||
_page = page;
|
||||
|
||||
foreach (var entry in Enum.GetValues(typeof(BootstrapperIcon)).Cast<BootstrapperIcon>())
|
||||
foreach (var entry in BootstrapperIconEx.Selections)
|
||||
Icons.Add(new BootstrapperIconEntry { IconType = entry });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user