fix lyric alignment select on fullscreen player config (#1390)

This commit is contained in:
jeffvli
2025-12-25 01:49:59 -08:00
parent 076d9b3083
commit fd833f683b
2 changed files with 6 additions and 5 deletions
@@ -36,7 +36,7 @@ import { Group } from '/@/shared/components/group/group';
import { NumberInput } from '/@/shared/components/number-input/number-input'; import { NumberInput } from '/@/shared/components/number-input/number-input';
import { Option } from '/@/shared/components/option/option'; import { Option } from '/@/shared/components/option/option';
import { Popover } from '/@/shared/components/popover/popover'; import { Popover } from '/@/shared/components/popover/popover';
import { Select } from '/@/shared/components/select/select'; import { SegmentedControl } from '/@/shared/components/segmented-control/segmented-control';
import { Slider } from '/@/shared/components/slider/slider'; import { Slider } from '/@/shared/components/slider/slider';
import { Switch } from '/@/shared/components/switch/switch'; import { Switch } from '/@/shared/components/switch/switch';
import { useHotkeys } from '/@/shared/hooks/use-hotkeys'; import { useHotkeys } from '/@/shared/hooks/use-hotkeys';
@@ -508,7 +508,7 @@ const Controls = ({ isPageHovered }: ControlsProps) => {
})} })}
</Option.Label> </Option.Label>
<Option.Control> <Option.Control>
<Select <SegmentedControl
data={[ data={[
{ {
label: t('common.left', { label: t('common.left', {
@@ -6,19 +6,20 @@ import styles from './mobile-fullscreen-player.module.css';
import { SONG_TABLE_COLUMNS } from '/@/renderer/components/item-list/item-table-list/default-columns'; import { SONG_TABLE_COLUMNS } from '/@/renderer/components/item-list/item-table-list/default-columns';
import { ListConfigMenu } from '/@/renderer/features/shared/components/list-config-menu'; import { ListConfigMenu } from '/@/renderer/features/shared/components/list-config-menu';
import { import {
useFullScreenPlayerStore,
useFullScreenPlayerStoreActions,
useLyricsDisplaySettings, useLyricsDisplaySettings,
useLyricsSettings, useLyricsSettings,
useSettingsStore, useSettingsStore,
useSettingsStoreActions, useSettingsStoreActions,
} from '/@/renderer/store'; } from '/@/renderer/store';
import { useFullScreenPlayerStore, useFullScreenPlayerStoreActions } from '/@/renderer/store';
import { ActionIcon } from '/@/shared/components/action-icon/action-icon'; import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
import { Divider } from '/@/shared/components/divider/divider'; import { Divider } from '/@/shared/components/divider/divider';
import { Group } from '/@/shared/components/group/group'; import { Group } from '/@/shared/components/group/group';
import { NumberInput } from '/@/shared/components/number-input/number-input'; import { NumberInput } from '/@/shared/components/number-input/number-input';
import { Option } from '/@/shared/components/option/option'; import { Option } from '/@/shared/components/option/option';
import { Popover } from '/@/shared/components/popover/popover'; import { Popover } from '/@/shared/components/popover/popover';
import { Select } from '/@/shared/components/select/select'; import { SegmentedControl } from '/@/shared/components/segmented-control/segmented-control';
import { Slider } from '/@/shared/components/slider/slider'; import { Slider } from '/@/shared/components/slider/slider';
import { Switch } from '/@/shared/components/switch/switch'; import { Switch } from '/@/shared/components/switch/switch';
import { QueueSong } from '/@/shared/types/domain-types'; import { QueueSong } from '/@/shared/types/domain-types';
@@ -311,7 +312,7 @@ export const MobileFullscreenPlayerHeader = memo(
})} })}
</Option.Label> </Option.Label>
<Option.Control> <Option.Control>
<Select <SegmentedControl
data={[ data={[
{ {
label: t('common.left', { label: t('common.left', {