mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-25 01:51:13 +01:00
816599749b
The layout preview/editor doesn't instantiate an Application instance, therefore accessing `displayMetrics` from the app context would lead to a crash, and the view being mocked in the preview. Additionally a default grid value is defined for `AlignmentGridView` to avoid a crash because of an invalid iteration step in the drawing loop.