mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-10 14:28:51 +01:00
![lynxnb](/assets/img/avatar_default.png)
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.