diff options
| author | Arne Dußin | 2020-12-16 13:34:56 +0100 |
|---|---|---|
| committer | Arne Dußin | 2020-12-16 13:34:56 +0100 |
| commit | 82d11b7d3e15d8175accf7579db1fbe528fc6583 (patch) | |
| tree | be9a5601e99608966d4ccd146c3bfb3a70c7fc02 /src/math | |
| parent | 9799d3c6a8f0c242668203a1c70d7b6cfed3e855 (diff) | |
| download | graf_karto-82d11b7d3e15d8175accf7579db1fbe528fc6583.tar.gz graf_karto-82d11b7d3e15d8175accf7579db1fbe528fc6583.zip | |
Add constant for default colours and selection tool
Diffstat (limited to 'src/math')
| -rw-r--r-- | src/math/rect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/rect.rs b/src/math/rect.rs index befa4da..50c1cb0 100644 --- a/src/math/rect.rs +++ b/src/math/rect.rs @@ -112,7 +112,7 @@ impl<T: Scalar + Copy> Rect<T> { x: min.x, y: min.y, w: max.x - min.x, - h: max.y - min.y + h: max.y - min.y, } } |
