sgtpuzzles icon indicating copy to clipboard operation
sgtpuzzles copied to clipboard

Mosaic, Netslide, Mine, etc.: Moving large grid with arrow keys causes a lot of lag

Open Not-A-Normal-Robot opened this issue 10 months ago • 0 comments

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:

  1. Go to one of the games that uses a grid and supports arrow keys (e.g. Mine)
  2. Generate a large puzzle (say, 50×50)
  3. Zoom in
  4. 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

Not-A-Normal-Robot avatar Apr 23 '24 02:04 Not-A-Normal-Robot