mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-28 12:07:48 -06:00
The handle drag rescaled incrementally from the current scale every frame: errors built up, edge handles scaled both axes, and once a factor reached ~0 the drag could never bring it back. It also tested the handle at the point where egui recognised the drag (past the drag threshold), so a quick grab often missed the handle and moved the layer instead. Now, as in After Effects, the drag scales about the anchor point relative to the layer as the drag began, so the grabbed point stays under the pointer: corners scale both axes, edges one, Shift keeps the proportions, and dragging past the anchor flips. Selection-tool gestures start at the press point. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>