captbaritone / captbaritone/webamp
resize playlist programatically, or prevent size change
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 796
- PR merge metrics
- No merged PRs in 30d
Description
I've noticed something pretty annoying. When I load Webamp on my mobile device, initially the playlist takes up the full height of the screen as this is how I've set it using
```
__initialWindowLayout: {
main: { position: { x: this.offset.x + 0, y: this.offset.y + 0 } },
playlist: { position: { x: this.offset.x + 0, y: this.offset.y + 116 }, size: [0, 12] },
},
```
However once I load new songs or load a new playlist, it auto-centers the play and shrinks the playlist to only 4 visible items. And I have yet to figure out how to prevent this behaviour. I want the playlist to always be as big as possible, and I'd like to ideally have a way to trigger this resize through a button or every time a new song / playlist is loaded so that it never shrinks the way it currently does
Any idea how I can achieve this?
Many thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.