mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-05 17:30:28 +03: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.