lib/middleware/flop.rb in tracksperanto-2.0.1 vs lib/middleware/flop.rb in tracksperanto-2.0.2

- old
+ new

@@ -2,14 +2,10 @@ class Tracksperanto::Middleware::Flop < Tracksperanto::Middleware::Base attr_accessor :enabled def start_export(w, h) - @w, @h = w, h + factor = enabled ? -1 : 1 + @exporter = Tracksperanto::Middleware::Scaler.new(@exporter, :y_factor => factor) super - end - - def export_point(frame, float_x, float_y, float_residual) - y = @enabled ? (@h - float_y) : float_y - super(frame, float_x, y, float_residual) end end \ No newline at end of file