mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03:00
eb4dd7f896
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
main.cpp | ||
MapWidget.cpp | ||
MapWidget.h | ||
SearchPanel.cpp | ||
SearchPanel.gml | ||
SearchPanel.h | ||
UsersMapWidget.cpp | ||
UsersMapWidget.h |