Skip to content

Commit

Permalink
Add proper mod settings tab icon
Browse files Browse the repository at this point in the history
  • Loading branch information
krypciak committed Sep 15, 2024
1 parent 3cdfd9f commit 70a8206
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified assets/media/font/ccmodmanager-icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/gui/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function registerModManagerIcons() {
'mod-icon-disabled',
'ccmodmanager-testing-off',
'ccmodmanager-testing-on',
'mod-icon-settings',
] as const
const mapping: Record<string, [number, number]> = {}
for (let i = 0; i < icons.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/gui/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ modmanager.gui.MenuList = sc.ListTabbedPane.extend({
...[
{ name: Lang.enabledTab, populateFunc: this.populateEnabled, icon: 'mod-icon-enabled' },
{ name: Lang.disabledTab, populateFunc: this.populateDisabled, icon: 'mod-icon-disabled' },
{ name: Lang.modOptionsTab, populateFunc: this.populateSettings, icon: 'mod-icon-online' },
{ name: Lang.modOptionsTab, populateFunc: this.populateSettings, icon: 'mod-icon-settings' },
],
]
if (!ig.isdemo) {
Expand Down

0 comments on commit 70a8206

Please sign in to comment.