Commit graph

1224 commits

Author SHA1 Message Date
Jordan Eldredge
cce7928f4e Accept the reality of event emitter 2019-04-05 07:34:14 -07:00
Jordan Eldredge
5713052415 Type ref callback 2019-04-05 07:34:14 -07:00
Jordan Eldredge
646b38319e Remove unused property 2019-04-05 07:34:14 -07:00
Jordan Eldredge
12139fb190 Type bindings 2019-04-05 07:34:14 -07:00
Jordan Eldredge
071c54b870 Initial typing of App.tsx 2019-04-05 07:34:14 -07:00
Jordan Eldredge
f45a3ec3f3 Make it safe to reparent the #webamp node
For now users can't control where Webamp inserts itself into the DOM. We want to add that as and option. In the mean time, we can enable users to hack it.

For example, https://github.com/ShizukuIchi/winXP wants to be able to keep Webamp in a div in order to control how it gets layerd with other apps.
2019-04-05 07:34:14 -07:00
Jordan Eldredge
758e20a9ad Update test to use getNextTrackId
I broke these in 4a3929a2b5 when I fogot to rename the tests as well as the usage.

I've converted this test to typescript which should help catch these kinds of things more easily in the future.
2019-04-05 07:34:14 -07:00
Jordan Eldredge
3e40ab5d17 Make spacing a little closer to right 2019-03-27 23:56:31 -07:00
Jordan Eldredge
7ef0320581 Use a light color for selected tracks in the library 2019-03-27 23:56:31 -07:00
Jordan Eldredge
0bd9feba7a Highlight selected table row in library 2019-03-27 23:56:31 -07:00
Jordan Eldredge
7ecd51020f Abstract the library table 2019-03-27 23:56:31 -07:00
Jordan Eldredge
4a3929a2b5 Fix bug where we could not progress to the next track
This was because we would go into stopped mode, and once in stopped mode, going to the next track was disabled.
2019-03-27 23:56:31 -07:00
Jordan Eldredge
1f7f00e031 Imrpove stretch of library buttons 2019-03-27 23:56:31 -07:00
Jordan Eldredge
82d7f99814 Use the correct name for the Library window in the context menu 2019-03-27 23:56:31 -07:00
jberg
5cfb4a3ea2 Butterchurn reset preset cycle interval 2019-03-25 17:23:29 -07:00
Jordan Eldredge
dd1f6164d9 Don't autoplay on next when stoppedFixes #730 2019-03-25 06:31:49 -07:00
Jordan Eldredge
c4282817db Add more methods to Webamp
Replaces #660
2019-03-24 21:51:52 -07:00
Jordan Eldredge
d57e3b3671 Use CSS Grid for laying out the media library 2019-03-23 17:37:37 -07:00
Jordan Eldredge
b5f1ad522e Use CSS grid for sidebar resize 2019-03-23 15:54:00 -07:00
Jordan Eldredge
95db2d08b6 Remeasure the offset when whe change selection state. 2019-03-23 14:09:57 -07:00
Jordan Eldredge
912a570101 Fix context menu which was opening at the top corner of the page 2019-03-22 16:42:16 -07:00
Jordan Eldredge
0bc0e98836 Remove prop types 2019-03-22 16:37:58 -07:00
Jordan Eldredge
91b08c20a2 Upgrade Prettier 2019-03-22 16:37:58 -07:00
Jordan Eldredge
71b956619c Don't render visualizer background when disabled
Fixes https://github.com/captbaritone/webamp/issues/762
2019-03-22 06:58:29 -07:00
Jordan Eldredge
50267f3ac2 Clearn up unused dependencies 2019-03-19 07:49:57 -07:00
Jordan Eldredge
8c915f7f06 Improve hook dependencies 2019-03-19 07:35:36 -07:00
Jordan Eldredge
bd5fa82c99 Trailing commas! 2019-03-19 06:55:24 -07:00
Jordan Eldredge
ee439b0e2c Import first 2019-03-19 06:55:23 -07:00
Jordan Eldredge
2c1183c470 Clean up 2019-03-19 06:55:23 -07:00
Jordan Eldredge
a9caca0964 Consolidate imports 2019-03-19 06:55:23 -07:00
Jordan Eldredge
1885028ae1 Avoid excessive else 2019-03-19 06:55:23 -07:00
Jordan Eldredge
54c32b0636 Consolidate imports 2019-03-19 06:55:23 -07:00
Jordan Eldredge
3213743960 Fix import order 2019-03-19 06:55:23 -07:00
jberg
4d7099718b Butterchurn first preset load transition immediately 2019-03-17 15:17:01 -07:00
jberg
c631882d73 Butterchurn dont error out on non milk/json file in directory when loading 2019-03-17 15:15:30 -07:00
remi.gallego@gmail.com
411669655f Extend drop target behaviour for objects 2019-03-16 22:23:19 -07:00
Jordan Eldredge
324fc29ca6 Fix bad import of music-metadata-browser 2019-03-16 21:55:42 -07:00
Jordan Eldredge
c634cd8b94 Fix off by one error when converting .eqf values
Validated that this was correct by looking at the output in `winamp-eqf`'s snapshot tests. A .eqf generated by real winamp with all the bands set at the midpoint outputs values of 33.

Fixes #749
2019-03-15 07:33:13 -07:00
Jordan Eldredge
f999c937b1 This fixes
It also reverts ab5eb33026 which reintroduces an issue with eqf encoding.

See https://github.com/captbaritone/webamp/issues/749
2019-03-15 07:13:37 -07:00
Chuf
ff1d18c044 Fixes issue #717
GainNode now attenuates or boosts the signal correctly, according to the logarithmic dB scale
2019-03-14 15:47:24 -07:00
Chuf
99b4ad5f98 Fixes issue #717
GainNode now attenuates or boosts the signal correctly, according to the logarithmic dB scale
2019-03-14 15:47:24 -07:00
Jordan Eldredge
5cc73e5fee Refactor Fullscreen to use hooks 2019-03-13 21:28:18 -07:00
Jordan Eldredge
5113752966 Allow Fullscreen to trigger on mount 2019-03-13 21:28:18 -07:00
Jordan Eldredge
a4e64aa131 Make impossible states impossible 2019-03-13 21:28:18 -07:00
Jordan Eldredge
f26af8d8c5 Focus the current preset when opening the preset overlay 2019-03-13 21:28:18 -07:00
Jordan Eldredge
322bf276a8 Enable double click to exit fullscreen milkdrop 2019-03-13 21:28:18 -07:00
Jordan Eldredge
5400be9638 Make preset property access type safe 2019-03-13 21:28:18 -07:00
Jordan Eldredge
d61585c8e3 Allow user to reshow the song title in Milkdrop 2019-03-13 21:28:18 -07:00
Jordan Eldredge
e41fb3d9b4 Test initial track selection 2019-03-13 21:28:18 -07:00
Jordan Eldredge
41e0ad4563 Support preset cycling 2019-03-13 21:28:18 -07:00