Bruno Windels
d833174d68
floor default section height
2019-01-28 16:29:34 +01:00
Bruno Windels
6e55ebdab7
better naming for anchor
2019-01-28 16:10:50 +01:00
Bruno Windels
dab1f30ab4
remove obsolete logging and comments
2019-01-28 16:08:38 +01:00
Bruno Windels
87720bac2e
add comments to fields
2019-01-28 16:03:08 +01:00
Bruno Windels
d56f77debe
ignore updates that don't change anything
2019-01-28 16:02:56 +01:00
Bruno Windels
14485b60be
assign default height after assigning new sections
...
also apply it to sections with value null
2019-01-28 16:00:28 +01:00
Bruno Windels
eaf212dd89
fix lint - bis bis
2019-01-28 15:28:56 +01:00
Bruno Windels
f103e60d1d
fix lint - bis
2019-01-28 15:22:05 +01:00
Bruno Windels
d08216e857
fix lint
2019-01-28 14:56:14 +01:00
Bruno Windels
bfb1031a6b
unify heights stored by id and index, to avoid them getting out of sync
...
effectively get rid of _originalHeights and calculate the array
from the dictionary when needed
2019-01-28 14:52:40 +01:00
Bruno Windels
0a5e8e6cfe
WIP on persisting height across collapse/expand
2019-01-28 14:35:04 +01:00
Bruno Windels
8ffeee6a98
add matthews new resize algo
2019-01-25 18:47:34 +01:00
Bruno Windels
4eb2555fc1
initial support for collapsing
2019-01-24 18:18:10 +01:00
Bruno Windels
b230e65e74
prevent height doubling when resizing
...
caused by mixing up absolute height with incremental height
2019-01-24 16:44:36 +01:00
Bruno Windels
1092244bbf
more fixes for updates/resizing
2019-01-24 15:43:23 +01:00
Bruno Windels
5bddf62d54
WIP to port prototype code
2019-01-23 18:30:51 +01:00
Bruno Windels
313bbaaeaa
remove obsolete comments
2019-01-16 11:33:41 +01:00
Travis Ralston
fed256cbaa
Update src/resizer/distributors/roomsublist.js
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-16 10:29:30 +00:00
Travis Ralston
98aa657052
Update src/resizer/distributors/collapse.js
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-16 10:29:22 +00:00
Travis Ralston
2bd65e14b7
Update src/resizer/distributors/fixed.js
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-16 10:29:15 +00:00
Bruno Windels
3c7bed97ac
size all items to rendered height when starting drag operation
...
before, we'd only normalize the sublists that had already been
sized manually. As non-sized items still have flex-basis: auto,
they would claim all the space, and mixing sized and unsized items
would be badly broken.
Now, on the first click, all items are sized to their rendered size
which means they won't flex anymore, but at least the resizing works
this way
Another downside is that when resizing while a sublist is
collapsed, it's reverted to 100px and if a size had been set before,
it's forgotten. No way around this with this approach I'm afraid.
2019-01-15 12:56:48 +01:00
Bruno Windels
aa90e9591a
fix min & max size for empty sublists
2019-01-15 12:56:33 +01:00
Bruno Windels
7e395f0fb6
cleanup - part II
...
reshuffle file structure to make more sense
2019-01-14 20:33:33 +01:00