lib/capybara/screenshot/diff/image_compare.rb in capybara-screenshot-diff-0.12.1 vs lib/capybara/screenshot/diff/image_compare.rb in capybara-screenshot-diff-0.12.2

- old
+ new

@@ -125,10 +125,10 @@ calculate_metrics unless @max_color_distance @max_color_distance end def max_shift_distance - calculate_metrics unless @max_shift_distance + calculate_metrics unless @max_shift_distance || !@shift_distance_limit @max_shift_distance end private