lib/middleware/flop.rb in tracksperanto-2.9.5 vs lib/middleware/flop.rb in tracksperanto-2.9.6
- old
+ new
@@ -1,12 +1,14 @@
# -*- encoding : utf-8 -*-
# Flips the comp being exported vertically
class Tracksperanto::Middleware::Flop < Tracksperanto::Middleware::Base
- attr_accessor :enabled
+ def self.action_description
+ "Mirror all the tracker paths vertically"
+ end
def start_export(w, h)
- factor = enabled ? -1 : 1
+ factor = -1
@exporter = Tracksperanto::Middleware::Scaler.new(@exporter, :y_factor => factor)
super
end
end