lib/fusuma/plugin/detectors/swipe_detector.rb in fusuma-1.3.1 vs lib/fusuma/plugin/detectors/swipe_detector.rb in fusuma-1.3.2
- old
+ new
@@ -57,11 +57,9 @@
def enough?(index:, quantity:)
enough_interval?(index: index) && enough_distance?(index: index, quantity: quantity)
end
def enough_distance?(index:, quantity:)
- MultiLogger.info(type: type, quantity: quantity,
- quantity_threshold: threshold(index: index))
quantity > threshold(index: index)
end
def enough_interval?(index:)
return true if first_time?