mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
Use constants for window defualt state
This commit is contained in:
parent
27ead4a30b
commit
a451e310aa
1 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ const defaultWindowsState: WindowsState = {
|
|||
positionsAreRelative: true,
|
||||
genWindows: {
|
||||
// TODO: Remove static capabilites and derive them from ids/generic
|
||||
main: {
|
||||
[WINDOWS.MAIN]: {
|
||||
title: "Main Window",
|
||||
size: [0, 0],
|
||||
open: true,
|
||||
|
|
@ -71,7 +71,7 @@ const defaultWindowsState: WindowsState = {
|
|||
hotkey: "Alt+W",
|
||||
position: { x: 0, y: 0 }
|
||||
},
|
||||
equalizer: {
|
||||
[WINDOWS.EQUALIZER]: {
|
||||
title: "Equalizer",
|
||||
size: [0, 0],
|
||||
open: true,
|
||||
|
|
@ -84,7 +84,7 @@ const defaultWindowsState: WindowsState = {
|
|||
hotkey: "Alt+G",
|
||||
position: { x: 0, y: 0 }
|
||||
},
|
||||
playlist: {
|
||||
[WINDOWS.PLAYLIST]: {
|
||||
title: "Playlist Editor",
|
||||
size: [0, 0],
|
||||
open: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue