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

- old
+ new

@@ -44,9 +44,14 @@ super(text, 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