lib/middleware/flip.rb in tracksperanto-2.8.6 vs lib/middleware/flip.rb in tracksperanto-2.9.0
- old
+ new
@@ -1,11 +1,12 @@
+# -*- encoding : utf-8 -*-
# Flips the comp being exported horizontally
class Tracksperanto::Middleware::Flip < Tracksperanto::Middleware::Base
attr_accessor :enabled
def start_export(w, h)
factor = enabled ? -1 : 1
@exporter = Tracksperanto::Middleware::Scaler.new(@exporter, :x_factor => factor)
super
end
-end
\ No newline at end of file
+end