diff options
| author | Alex Dovzhanyn <[email protected]> | 2017-06-06 10:12:15 -0400 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2017-06-06 11:48:54 -0400 |
| commit | e8c4dbc50f6305e9e6a3cb3653e0871e3c14d944 (patch) | |
| tree | 75e5b8a166446f4ffa4d82eaa746339b7a5259f1 | |
| parent | 7f6b169daf61d08f57dce62bcb539f04b10b4414 (diff) | |
| download | ruby2d-e8c4dbc50f6305e9e6a3cb3653e0871e3c14d944.tar.gz ruby2d-e8c4dbc50f6305e9e6a3cb3653e0871e3c14d944.zip | |
fix image z-index on initialization
| -rw-r--r-- | lib/ruby2d/image.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ruby2d/image.rb b/lib/ruby2d/image.rb index cfab0b6..89e9b47 100644 --- a/lib/ruby2d/image.rb +++ b/lib/ruby2d/image.rb @@ -18,7 +18,7 @@ module Ruby2D @x = opts[:x] || 0 @y = opts[:y] || 0 - @z = opts[:x] || 0 + @z = opts[:z] || 0 @type_id = 4 |
