Minor fixes

This commit is contained in:
redphx
2024-07-07 19:20:58 +07:00
parent c03c63f3c3
commit 900ab38153
4 changed files with 9 additions and 7 deletions

View File

@@ -569,7 +569,7 @@ export class Preferences {
[UiSection.ALL_GAMES]: t('section-all-games'),
},
params: {
size: 4,
size: 3,
},
},

View File

@@ -27,7 +27,7 @@ export enum SettingElementType {
export class SettingElement {
static #renderOptions(key: string, setting: PreferenceSetting, currentValue: any, onChange: any) {
const $control = CE<HTMLSelectElement>('select', {
title: setting.label,
// title: setting.label,
tabindex: 0,
}) as HTMLSelectElement;
for (let value in setting.options) {
@@ -54,7 +54,7 @@ export class SettingElement {
static #renderMultipleOptions(key: string, setting: PreferenceSetting, currentValue: any, onChange: any, params: MultipleOptionsParams={}) {
const $control = CE<HTMLSelectElement>('select', {
title: setting.label,
// title: setting.label,
multiple: true,
tabindex: 0,
});