diff options
Diffstat (limited to 'editor/editor.cpp')
| -rw-r--r-- | editor/editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index cfb36480..f09030dc 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -69,10 +69,10 @@ void editor::on_mouse_move(world& world, global_coords& pos, int mods) const auto [minx, maxx] = std::minmax(draw_coord.x, last.draw_coord.x); const auto [miny, maxy] = std::minmax(draw_coord.y, last.draw_coord.y); if (draw_offset[0]) - for (std::uint32_t i = minx; i <= maxx; i++) + for (uint32_t i = minx; i <= maxx; i++) on_click_(world, { i, draw_coord.y }, last.btn); else - for (std::uint32_t j = miny; j <= maxy; j++) + for (uint32_t j = miny; j <= maxy; j++) on_click_(world, { draw_coord.x, j }, last.btn); } else |
