Commit graph

30 commits

Author SHA1 Message Date
Jordan Eldredge
0fd5eedf9d Revert "Fix initial position when container is not at the top of the page"
This reverts commit 1d31b7fa86.
2018-06-24 09:25:21 -07:00
Jordan Eldredge
1d31b7fa86 Fix initial position when container is not at the top of the page 2018-06-23 21:45:24 -07:00
Jordan Eldredge
730d676801 Center within the rendered node 2018-06-21 21:03:16 -07:00
Jordan Eldredge
f17d88053c Ensure we don't render off screen if we are in a hidden iframe when we load 2018-06-14 06:50:05 -07:00
Jordan Eldredge
375d9d06c9 Extract calculateBoundingBox 2018-06-12 20:57:46 -07:00
Jordan Eldredge
a7a5ef5e91 Upgrade prettier 2018-05-28 15:56:18 -07:00
Jordan Eldredge
0e48b6c8c2 Allow user defined initial layout 2018-05-13 20:25:10 -07:00
Jordan Eldredge
fc9f1268e9 Derive window size/position from state rather than DOM 2018-05-11 17:51:50 -07:00
Jordan Eldredge
0f27b2c47e Allow gen window to be resized via drag target 2018-04-15 11:08:29 -07:00
Jordan Eldredge
2450cfb6be Don't center windows on resize
Fixes #530
2018-03-28 20:26:48 -07:00
Jordan Eldredge
b34126c601 Ensure autolayout is always on the pixel grid 2018-03-25 20:20:06 -07:00
Jordan Eldredge
6cd8e7112b Maintain window relationships on resize 2018-03-24 21:55:40 -07: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
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
13a57202f5 Fix bug where snapping did not quite work properly. 2018-02-03 15:30:34 -08:00
Jordan Eldredge
d6c361f77a Add TODO about abuts 2018-01-17 19:00:36 -08:00
Jordan Eldredge
bb816d3693 Improve handling to multipel concurrent diffs 2018-01-17 19:00:36 -08:00
Jordan Eldredge
e8ce04e554 Apply window snap and border snap at the same time. Fixes #381 2018-01-17 19:00:36 -08:00
Jordan Eldredge
341fe27013 Split out moving/stationary logic 2018-01-15 20:56:58 -08:00
Jordan Eldredge
7e20788245 Closing windows does not cause other windows to take its place
Fixes #440
2018-01-15 20:32:41 -08:00
Jordan Eldredge
a233a98c9e Fix annoyance where dragging could cause text to get highlighted 2017-11-18 16:43:39 -08:00
Jordan Eldredge
c065036e87 Remove event listener when unmouting 2017-11-16 21:31:37 -08:00
Jordan Eldredge
dbef151f9a Handle refs getting unloade 2017-09-16 21:44:05 -07:00
Jordan Eldredge
994c725f60 Main window brings connected windows along. 2017-09-08 19:41:21 -07:00
Jordan Eldredge
7367f0a115 Remove unused ignore 2017-08-28 17:02:15 -07:00
Jordan Eldredge
a0560d0ccc Upgrade Prettier 2017-08-28 17:02:08 -07:00
Jordan Eldredge
43d54e6504 Upgrade Prettier 2017-04-13 12:26:47 -07:00
Jordan Eldredge
c40a78845b Swith to Prettier 2017-03-20 23:14:15 +00:00
Jordan Eldredge
4bd28d0053 Deprecate jsx extension 2017-01-17 17:51:21 -08:00
Renamed from js/components/WindowManager.jsx (Browse further)