diff options
Diffstat (limited to 'src/grid.rs')
-rw-r--r-- | src/grid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grid.rs b/src/grid.rs index 029a196..ed1dd83 100644 --- a/src/grid.rs +++ b/src/grid.rs | |||
@@ -81,7 +81,7 @@ impl Grid { | |||
81 | } | 81 | } |
82 | GridKind::Isometric => { | 82 | GridKind::Isometric => { |
83 | canvas.set_clip_rect(Some(rect!(x, y, width * cs, height * cs))); | 83 | canvas.set_clip_rect(Some(rect!(x, y, width * cs, height * cs))); |
84 | for i in (0..2 * height + width).step_by(4) { | 84 | for i in (0..2 * height + width).step_by(2) { |
85 | let begin = ((i * cs) as i32, 0i32); | 85 | let begin = ((i * cs) as i32, 0i32); |
86 | let end = (0i32, (i * cs) as i32 / 2); | 86 | let end = (0i32, (i * cs) as i32 / 2); |
87 | canvas | 87 | canvas |