Leaflet: Maintain the proper order of widgets in both lists

aggelalex requested to merge aggalex/libadwaita:widget-list into main

The children and children_reversed lists were maintained incorrectly due to bad indexing. That said, perhaps a doubly-linked list would be the best data structure for this job. This bug broke RTL and the "under" animation

Fixes #67 (closed) and #88 (closed).

Edited by aggelalex

Merge request reports