Skip to content

Use a single for loop directly in LayoutManager.move to allow animations when quickly dragging applets

Niccolò Venerandi requested to merge work/niccolove/fixdraggingapplets into master

The first commit reverts !1183 (merged)

The second commit re-implements the fix in hopefully a better version: the placeholder is moved instead of the item your mouse lands on, and animation is granted by setting oldX and oldY of all applets between the two applets that get moved.

I also noticed that quickly dragging an applet over the settings icon at the end of the panel looses the mouse input; idk if Fushan's patch addressed that, but just for sure I fixed it in this patch too.

@fusionfuture

Edited by Niccolò Venerandi

Merge request reports

Loading