Pass a MutableAppContext to Element::layout and ::dispatch_event

We need to mutate the app in these cases to relay layout state, so this just makes things easier. We won't be able to perform layout in parallel but it's questionable whether we'll ever actually do that. If we do, we can revisit.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
11285f3762Nathan Sobo committed on 7/23/2021, 4:52:08 PMparent61f4580
7 files changedLine totals unavailable