Commit graph

74 commits

Author SHA1 Message Date
Jordan Eldredge
e5f6edf602 Add onMouseDown handlers to snapshots 2019-05-02 19:56:25 -07:00
Jordan Eldredge
0f97529a39 Update snapshot to reflect new version of rc-slider 2019-05-02 16:32:29 -07:00
Jordan Eldredge
c00cb44b8d Update tests to reflect new focus management style 2019-05-01 22:29:10 -07:00
Jordan Eldredge
24d446e47b Extract focus management to a component 2019-05-01 22:29:10 -07:00
Jordan Eldredge
50267f3ac2 Clearn up unused dependencies 2019-03-19 07:49:57 -07:00
Jordan Eldredge
bd5fa82c99 Trailing commas! 2019-03-19 06:55:24 -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
Jordan Eldredge
e476f1c7df Fix Slider typing 2019-02-16 06:19:25 -08:00
Jordan Eldredge
c05099fd8f Type some more stuff 2019-02-09 23:22:44 -05:00
Jordan Eldredge
48cac8d619 Update snapshots 2019-02-09 11:05:25 -05:00
Jordan Eldredge
ab5eb33026 Fix bug where lowest value eq settings were getting encoded wrong 2019-02-09 09:53:43 -05:00
Jordan Eldredge
48912634b1 Add preamp to media mocks 2019-01-06 14:34:14 -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
12f4a89d5a Include default presets in dropdown 2018-11-09 07:17:17 -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
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
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
683cd69582 Draw eq graph as pixels 2018-11-03 21:14:14 -07:00
Jordan Eldredge
e42ccdd624 Type preset context menu
Also fixes a bug where we didn't actually call the downloadPreset action creator
2018-10-13 13:58:21 -07:00
Jordan Eldredge
9081a86520 Type EqAuto 2018-10-13 13:53:12 -07:00
Jordan Eldredge
c9340f7884 Type EqOn 2018-10-13 13:49:05 -07:00
Jordan Eldredge
5a10f29190 Type EqualizerShade 2018-10-13 13:45:17 -07:00
Jordan Eldredge
17756eaa60 Memoize selectors and use curried functions rather than arguments 2018-09-18 08:38:25 -07:00
Jordan Eldredge
3d836424da Turn on buttons for screenshot 2018-07-02 19:38:26 -07:00
Jordan Eldredge
b07d1322f5 Fix closing shade mode equalizer 2018-06-04 08:15:03 -07:00
Jordan Eldredge
a7a5ef5e91 Upgrade prettier 2018-05-28 15:56:18 -07:00
Jordan Eldredge
9277afecc9 Upgrade Jest 2018-05-24 18:45:42 +01:00
Jordan Eldredge
257dadfecf Address/remove a bunch of TODOs 2018-05-23 20:14:06 +01:00
Jordan Eldredge
7b7af6b06e getPlaylistWindowPixelSize 2018-05-13 12:36:15 -07:00
Jordan Eldredge
2d1bd3f110 Progress toward unifying windows 2018-05-13 12:36:15 -07:00
Jordan Eldredge
ca4fef2db0 Supprt right-click context menu 2018-05-05 14:25:05 -07:00
Jordan Eldredge
56717b84b3 Fix local component name 2018-05-05 13:30:28 -07:00
Jordan Eldredge
99ea94d1b3 Decouple ContextMenuTarget from the underlying menu 2018-05-05 13:14:02 -07:00
Jordan Eldredge
d353dbcf1e Add 'on' to mock media instances 2018-04-14 11:44:23 -07:00
Jordan Eldredge
2bc90d9a90 Improve how files get loaded 2018-02-19 10:42:46 -08:00
Jordan Eldredge
85df75d3b0 Avoid rebinding openFileDialog in render
This is probably not a real perf problem, but I personally find .bind a bit harder to read than arrow functions, and since I was converting them, I figured I'd move them to `mapDispatchToProps` which only gets called on mount rather than on each render.
2018-02-12 17:11:59 -08:00
Ricky Miller
bd7ac23bc0 Limit presets to .eqf 2018-02-12 16:13:26 -08:00
Jordan Eldredge
d3e4797848 Fix snapshots 2018-01-31 20:42:53 -08:00