src/Model/Layer/Layers.elm [43:54]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |> List.foldr -- we shouldn't lose any layers here since we just add them back (\( layer, cmd ) ( prevLayers, prevCmds ) -> let (Layer { index } _) = layer in ( layer :: prevLayers , Cmd.map (mapMsg <| makeIndex index) cmd :: prevCmds ) ) ( [], [] ) |> Tuple.mapSecond Cmd.batch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/Model/Layer/Layers.elm [179:190]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |> List.foldr -- we shouldn't lose any layers here since we just add them back (\( layer, cmd ) ( prevLayers, prevCmds ) -> let (Layer { index } _) = layer in ( layer :: prevLayers , Cmd.map (mapMsg <| makeIndex index) cmd :: prevCmds ) ) ( [], [] ) |> Tuple.mapSecond Cmd.batch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -