mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
Album blur, allow clicking the playerbar to toggle the player, misc changes (#717)
* Album blur, allow clicking the playerbar to toggle the player * Fix stopProporagion, sync package with upsteam, update translation * recommit my existing changes * Update default albumBackgroundBlur to 6 * according to git this commit resets the package files * merge with our fork because pyx forgot to add it * try adding a setting * change the playerbar animation * make the animation quicker bc its choppy * change playerbar to use a bool instead * requested opacity fix * Refactor classes to use clsx --------- Co-authored-by: iiPython <ben@iipython.dev> Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
This commit is contained in:
@@ -205,6 +205,8 @@ export interface SettingsState {
|
||||
general: {
|
||||
accent: string;
|
||||
albumArtRes?: number | null;
|
||||
albumBackground: boolean;
|
||||
albumBackgroundBlur: number;
|
||||
buttonSize: number;
|
||||
defaultFullPlaylist: boolean;
|
||||
disabledContextMenu: { [k in ContextMenuItemType]?: boolean };
|
||||
@@ -218,6 +220,7 @@ export interface SettingsState {
|
||||
nativeAspectRatio: boolean;
|
||||
passwordStore?: string;
|
||||
playButtonBehavior: Play;
|
||||
playerbarOpenDrawer: boolean;
|
||||
resume: boolean;
|
||||
showQueueDrawerButton: boolean;
|
||||
sideQueueType: SideQueueType;
|
||||
@@ -342,6 +345,8 @@ const initialState: SettingsState = {
|
||||
general: {
|
||||
accent: 'rgb(53, 116, 252)',
|
||||
albumArtRes: undefined,
|
||||
albumBackground: false,
|
||||
albumBackgroundBlur: 6,
|
||||
buttonSize: 20,
|
||||
defaultFullPlaylist: true,
|
||||
disabledContextMenu: {},
|
||||
@@ -355,6 +360,7 @@ const initialState: SettingsState = {
|
||||
nativeAspectRatio: false,
|
||||
passwordStore: undefined,
|
||||
playButtonBehavior: Play.NOW,
|
||||
playerbarOpenDrawer: false,
|
||||
resume: false,
|
||||
showQueueDrawerButton: false,
|
||||
sideQueueType: 'sideQueue',
|
||||
|
||||
Reference in New Issue
Block a user