ladybird/Userland/Applications/Maps
Jelle Raaijmakers eb4dd7f896 Maps: Fix spiraling tile iterator end
The `operator++` of the spiraling tile iterator was repeating the first
coordinates (`0, 0`) instead of moving to the next tile on the first
iteration. Swapping the move and check ensures we get to the end of the
iterator, fixing gray tiles that would sometimes pop up in the lower
right.

Since we never return from `operator++` without setting a valid
position, we can drop `current_x` and `current_y` and just use the
`Gfx::Point<T>` directly.
2023-10-03 20:25:09 +02:00
..
CMakeLists.txt Maps: Add search panel 2023-09-24 20:05:33 -06:00
main.cpp Base+Maps: Add manpage for Maps 2023-09-25 16:20:20 +01:00
MapWidget.cpp Maps: Fix spiraling tile iterator end 2023-10-03 20:25:09 +02:00
MapWidget.h Maps: Add search panel 2023-09-24 20:05:33 -06:00
SearchPanel.cpp Maps: Add search panel 2023-09-24 20:05:33 -06:00
SearchPanel.gml Maps: Add search panel 2023-09-24 20:05:33 -06:00
SearchPanel.h Maps: Add search panel 2023-09-24 20:05:33 -06:00
UsersMapWidget.cpp Maps: Add search panel 2023-09-24 20:05:33 -06:00
UsersMapWidget.h Maps: Add search panel 2023-09-24 20:05:33 -06:00