lib/middleware/golden.rb in tracksperanto-2.1.0 vs lib/middleware/golden.rb in tracksperanto-2.1.1

- old
+ new

@@ -1,12 +1,8 @@ # This middleware marks all trackers as being 100% accurate class Tracksperanto::Middleware::Golden < Tracksperanto::Middleware::Base attr_accessor :enabled - def enabled - @enabled || false - end - def export_point(frame, float_x, float_y, float_residual) super(frame, float_x, float_y, (enabled ? 0.0 : float_residual)) end end \ No newline at end of file