mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-30 04:04:09 +01:00
A column that is resized by its left edge is made wider and the strip is panned by what it was made wider by, so that its left edge is where it was moved to and its right edge where it was. But a column that is made wider than the room that it has to the right is brought into view as it is made wider, which moves the strip already, so that for what was beyond the room the strip moved twice. A recording of a drag of the last column of a strip, 1342 pixels, has the strip 1008 pixels too far to the left at the end of it, and every step with the strip moved by twice what the drag was less the room there was. Say where the right edge of the column is before and after it is made wider, and pan by the difference, which is what is left to put back whether the strip moved or not.