lib/ruby2d/camera/image.rb in ruby2d-camera-1.1.0 vs lib/ruby2d/camera/image.rb in ruby2d-camera-1.1.1

- old
+ new

@@ -32,9 +32,14 @@ super(path, opts) Ruby2D::Camera << self Window.remove(self) end + def z=(z) + super(z) + Ruby2D::Camera._sort_by_z + end + def remove @hide = true end def add