Commit graph

561 commits

Author SHA1 Message Date
Jordan Eldredge
d68565682a Fix typing to avoid extra import 2018-11-20 21:53:01 -08:00
Jordan Eldredge
a52c63ea42 Type ScrollBar 2018-11-20 21:43:52 -08:00
jberg
7494eb3f47 Fix loading non minimal presets (#706) 2018-11-20 11:15:51 -08:00
Jordan Eldredge
48a937da87 Scrolling in the eq window should not scroll volume
Update snapshot
2018-11-20 07:58:44 -08:00
Jordan Eldredge
e117aca748 Type the equalizer window 2018-11-20 07:50:25 -08:00
Jordan Eldredge
629b63b40c Upgrade webpack 2018-11-19 19:45:40 -08:00
Jordan Eldredge
4b53209e0c Fix blurry marquee when doubled
Fixes #701
2018-11-10 15:18:34 -08:00
Jordan Eldredge
12f4a89d5a Include default presets in dropdown 2018-11-09 07:17:17 -08:00
Jordan Eldredge
f83110f141 Remove generic window cruft
Now that Milkdrop is a first-class window, we don't need all this.
2018-11-05 06:38:12 -08:00
Jordan Eldredge
f083865793 Milkdrop cleanup 2018-11-04 21:43:23 -08:00
Jordan Eldredge
91499b5550 More spline cleanup 2018-11-04 21:37:39 -08:00
Jordan Eldredge
b6c26f6e68 Make names more verbose 2018-11-04 21:37:39 -08:00
Jordan Eldredge
7156488f3e Don't reset i 2018-11-04 21:37:39 -08:00
Jordan Eldredge
09c0673759 Inline getY 2018-11-04 21:37:39 -08:00
Jordan Eldredge
94476eedc4 Get all y values in one go 2018-11-04 21:37:39 -08:00
Jordan Eldredge
3b7f2d51ac Make spline a curried function 2018-11-04 21:37:39 -08:00
jberg
f78963507b Make milkdrop window first class (#697)
* make milkdrop window first class

* move butterchurn options to top

* move layout and some other review tweaks

* move butterchurnOptions out of state

* add layout variable back

* review tweaks

* fix placement of style update

* fix lint errors/warnings

* use constant instead of string
2018-11-04 21:19:56 -08:00
Jordan Eldredge
c03d575f4f Cleanup spline to make eslint happy 2018-11-04 15:22:31 -08:00
Jordan Eldredge
491c7591d0 Use morganherlocker/cubic-spline for spline
This allows us to do a simpler line interpolation which is closer to
what Winamp actually does:

1. Derive a Y value for every column
2. Draw a pixel at the Y value for the first column
3. For each successive column:
3a. Draw a vertical line from the previous Y value to the current Y value
2018-11-04 15:21:22 -08:00
Jordan Eldredge
53062798b3 Wrap CharacterString in a Fragment to help Typescript 2018-11-03 22:18:18 -07:00
Jordan Eldredge
c720f3c408 Update snapshot to reflect updated eq graph size 2018-11-03 22:01:55 -07:00
Jordan Eldredge
5afac9652f Fix let/const in spline 2018-11-03 21:59:34 -07:00
Jordan Eldredge
802571cb4f Inline parse function 2018-11-03 21:58:22 -07:00
Jordan Eldredge
0bc45f6cfe Fix import order 2018-11-03 21:57:31 -07:00
Jordan Eldredge
f931d6ecf9 Use default args for spline 2018-11-03 21:55:34 -07:00
Jordan Eldredge
c8163244d7 Remove "close" option from spline 2018-11-03 21:54:52 -07:00
Jordan Eldredge
618be3594e Revert "Extract painting the oscilloscope"
This reverts commit 333f2290ba.
2018-11-03 21:21:33 -07:00
Jordan Eldredge
9f55f06506 Revert "Extract printBarFrame"
This reverts commit 89cf922ecd.
2018-11-03 21:21:26 -07:00
Jordan Eldredge
683cd69582 Draw eq graph as pixels 2018-11-03 21:14:14 -07:00
Jordan Eldredge
dd7b94bfc3 Extract skin functions 2018-10-28 23:06:55 -07:00
Jordan Eldredge
89cf922ecd Extract printBarFrame 2018-10-28 22:50:40 -07:00
Jordan Eldredge
333f2290ba Extract painting the oscilloscope 2018-10-28 22:44:14 -07:00
Jordan Eldredge
922df8681f Extract prerender functions 2018-10-28 22:35:18 -07:00
Jordan Eldredge
21425fba12 Extract bucket generation 2018-10-28 22:24:01 -07:00
Jordan Eldredge
03acc5feba Use hooks for context menu 2018-10-28 22:18:32 -07:00
Jordan Eldredge
9635672652 Remove useless class 2018-10-28 21:21:57 -07:00
Jordan Eldredge
f0db3adf7e Use hooks for DropTarget 2018-10-28 21:20:56 -07:00
Jordan Eldredge
3dc8dc5af6 Use hooks for ContextMenuTarget 2018-10-28 21:16:04 -07:00
Jordan Eldredge
3df608a665 First use of hooks! 2018-10-25 16:33:57 -07:00
Jordan Eldredge
6f43b4b8b3 Add options context menu 2018-10-24 22:10:51 -07:00
Jordan Eldredge
af82af36da type Time 2018-10-23 22:02:32 -07:00
Jordan Eldredge
b074e0eff3 Fix how we calculate the position of trackes dropped into the playlist
Fixes #688
2018-10-22 07:26:37 -07:00
Jordan Eldredge
291b518765 Catch one more call to addTracksFromReferences 2018-10-21 15:54:50 -07:00
Jordan Eldredge
9f5c20d413 Require load style always be explicit
Fixes #687
2018-10-21 15:49:57 -07:00
Jordan Eldredge
4cf1550dea Use correct action for toggleVisualizerStyle 2018-10-21 15:49:18 -07:00
Jordan Eldredge
f3e24e4e97 Actually dispatch playlist actions 2018-10-21 15:34:37 -07:00
Jordan Eldredge
57cf0e6e16 Pull convert presets out to top level options 2018-10-17 21:50:53 -07:00
Jordan Eldredge
031c9733f1 Use dynamic imports instead of require.ensure
I left out jsmediatags so as not to conflict with #679
2018-10-17 21:08:47 -07:00
Jordan Eldredge
68ad3ce5c8 Extract butterchurn config options 2018-10-17 20:28:53 -07:00
Jordan Eldredge
5b5a6847f8 Suppress error 2018-10-17 19:07:58 -07:00