sgtpuzzles
sgtpuzzles copied to clipboard
Mosaic, Netslide, Mine, etc.: Moving large grid with arrow keys causes a lot of lag
Describe the bug When you use arrow keys and the cursor would go off-screen if you move it, the grid will move so that the cursor will always stay on-screen. However, for some reason this causes quite a bit of lag, and is even more extreme with grid size and tap speed.
To Reproduce Steps to reproduce the behavior:
- Go to one of the games that uses a grid and supports arrow keys (e.g. Mine)
- Generate a large puzzle (say, 50×50)
- Zoom in
- Hold the 'right' arrow key
Expected behavior Moving the grid this way should not cause lag to the point where the game slows to a crawl (<1 fps).
Version info (optional, but sometimes helpful)
- Phone/tablet model: Redmi 9
- Android version: 12
- App version: 2024-03-29-2245-fd304c53