summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/PixelPaintWindow.gml
diff options
context:
space:
mode:
authorMustafa Quraish <mustafaq9@gmail.com>2021-09-02 04:26:10 -0400
committerAndreas Kling <kling@serenityos.org>2021-09-03 01:49:32 +0200
commit97cc34c03441cef5cb601356c474debf2e85253f (patch)
tree38b915f805b1634fae82998e944b94d627c63eef /Userland/Applications/PixelPaint/PixelPaintWindow.gml
parent432839c2e9c1a29343893f85a9fd9f2aeb0750e8 (diff)
downloadserenity-97cc34c03441cef5cb601356c474debf2e85253f.zip
PixelPaint: Fix the displayed order of layers in LayerListWidget
Previously the background layer was shown at the top, and layers in front of it were shown below it. This was really unintuitive. This patch fixes LayerListWidget to now properly differentiate between the index of a gadget, and the index of a layer, since they are essentially mirrored. I chose not to modify the order in which layers are stored since back-to-front makes it really convenient there.
Diffstat (limited to 'Userland/Applications/PixelPaint/PixelPaintWindow.gml')
0 files changed, 0 insertions, 0 deletions