Skip to content

containments/panel: fix applet order in new panel

Fushan Wen requested to merge work/fuf/panel/fix-new-order into master

indexAtCoordinates returns 0 when x < 0 or y < 0 in the while loop. But when a new preset panel is added, childAt will not be able to find any applet because they are not initialized yet, so the new position for an applet is always 0, which results in reversed order of applets.

Edited by Fushan Wen

Merge request reports