Commit graph

520 commits

Author SHA1 Message Date
Jordan Eldredge
21278239fa Fix window graph for generic windowsThis allows generic windows to bring along neighbor windows when sizes change (shade mode doubed etc) 2018-04-26 07:10:14 -07:00
Jordan Eldredge
842f12014e Move generic window size into state 2018-04-26 07:10:08 -07:00
Jordan Eldredge
db956cce6b Add key to genWindow context menu nodes 2018-04-26 07:10:02 -07:00
Jordan Eldredge
5e99ee46fa Allow generic windows to be toggled from the context menu 2018-04-26 07:09:25 -07:00
Jordan Eldredge
82c75bcc45 Add windows to context menu 2018-04-26 07:09:25 -07:00
Jordan Eldredge
569a6819f0 Convert __extraWindows into an array 2018-04-23 07:11:34 -07:00
Jordan Eldredge
d7a2004d04 Allow custom windows to be provided via Webamp config 2018-04-22 21:47:45 -07:00
Jordan Eldredge
972689c448 Upgrade Prettier 2018-04-21 21:18:03 -07:00
Jordan Eldredge
0f27b2c47e Allow gen window to be resized via drag target 2018-04-15 11:08:29 -07:00
Jordan Eldredge
2d31310650 Pad track number
Fixes #412
2018-04-14 15:51:38 -07:00
Jordan Eldredge
91cd4d1dd3 Use setInterval 2018-04-14 12:31:29 -07:00
Jordan Eldredge
9afd9bc3d9 Rename css file 2018-04-14 11:44:24 -07:00
Jordan Eldredge
545c22a3fc Update CSS prefix 2018-04-14 11:44:24 -07:00
Jordan Eldredge
d20f1cae42 Start rename transition 2018-04-14 11:44:24 -07:00
Jordan Eldredge
d353dbcf1e Add 'on' to mock media instances 2018-04-14 11:44:23 -07:00
Jordan Eldredge
854a09e3e6 Catch filePicker errors
Fixes #532
2018-04-12 08:25:25 -07:00
Jordan Eldredge
4a93013814 Add onMinimize callback 2018-04-12 06:26:43 -07:00
Jordan Eldredge
d700100626 Supress file drops outside of windows. Change drop cursors to better match Winamp
Fixes #529
2018-04-12 06:26:43 -07:00
Jordan Eldredge
00eafd6b47 Shrink visualizer by one pixel
Fixes #536
2018-04-10 17:39:54 -07:00
Jordan Eldredge
a471d80f51 Fix tests 2018-04-03 07:25:48 -07:00
remigallego
2e360020ef fix avaliable into available 2018-04-01 09:08:51 -07:00
Jordan Eldredge
2450cfb6be Don't center windows on resize
Fixes #530
2018-03-28 20:26:48 -07:00
Jordan Eldredge
43c2b99706 Add methods to add media to winamp instance 2018-03-26 21:18:25 -07:00
Jordan Eldredge
b34126c601 Ensure autolayout is always on the pixel grid 2018-03-25 20:20:06 -07:00
Jordan Eldredge
db5aa57013 Update snapshot 2018-03-25 07:34:47 -07:00
Jordan Eldredge
8f3b70f28e Pass event 2018-03-25 07:34:01 -07:00
Jordan Eldredge
525bbcdb0d Prevent double click on shade from triggering double click on parent 2018-03-25 07:33:21 -07:00
Jordan Eldredge
6cd8e7112b Maintain window relationships on resize 2018-03-24 21:55:40 -07:00
Jordan Eldredge
9d1ac902f9 Ensure empty, selected duration cells still get highlighted 2018-03-19 20:10:29 -07:00
Jordan Eldredge
4d59c29a80 Clarify meaning 2018-03-19 19:11:23 -07:00
Jordan Eldredge
5f081dd6d2 Get shade mode visualizer working 2018-03-17 22:40:38 -07:00
Jordan Eldredge
971ade9fb2 Remove generic "shade" display state
This was a holdover from when the main window was the only window.
2018-03-17 19:28:55 -07:00
Jordan Eldredge
4aa63d88b5 Explicitly state that Dropbox file picker requries the network. 2018-03-16 22:41:29 -07:00
Jordan Eldredge
5a52030d4c Disable Dropbox option is the global is not avalaible 2018-03-16 09:31:52 -07:00
Jakub Ďuraš
1c97cce4e1 Merges upstream/master and resolves conflicts 2018-03-12 11:50:34 +01:00
Jakub Ďuraš
8c4735d245 Refactor for position calculation to account for NaN/0 2018-03-11 23:15:32 +01:00
Jakub Ďuraš
5303bf70c8 Prettier position percentage calculation 2018-03-11 14:47:21 -07:00
Jakub Ďuraš
0a0ea9ffca Adds flooring of time elapsed for seeking bar position 2018-03-11 14:47:21 -07:00
Jakub Ďuraš
ea36814d2a Prettier position percentage calculation 2018-03-11 20:26:03 +01:00
Jordan Eldredge
f8660f319b Load directories 2018-03-10 18:59:59 -08:00
Jordan Eldredge
f81ad68a46 Fix insert position of tracks dragged into the playlist while scrolled 2018-03-10 16:25:53 -08:00
Jordan Eldredge
6cb8b50c09 Add missing key 2018-03-10 16:11:41 -08:00
Jordan Eldredge
5830ac1021 Pull Dropbox integration out of core
Fixes #499
2018-03-10 16:02:49 -08:00
Jordan Eldredge
6ee338fc76 Remove event listener
I was a good boy, and made sure to remove my mouse move event listener when the user's mouse came up.

Sadly, I didn't then _also_ remove the mouse up event listener.

This meant that after clicking a few times, the whole app would stall quite a bit any time your mouse came up.
2018-03-10 16:02:49 -08:00
Jordan Eldredge
33e33b2dec Add dropbox support 2018-03-10 16:02:49 -08:00
Jakub Ďuraš
994da15f55 Adds flooring of time elapsed for seeking bar position 2018-03-10 19:07:28 +01:00
Jordan Eldredge
bb5502461f Get window size more robustly 2018-02-21 20:03:11 -08:00
Jordan Eldredge
ee04f2adc9 Allow Winamp2-js to center iteself in a container element 2018-02-19 20:10:37 -08:00
Jordan Eldredge
b11ae25a33 Refactor file loading 2018-02-19 17:16:25 -08:00
Jordan Eldredge
2bc90d9a90 Improve how files get loaded 2018-02-19 10:42:46 -08:00