From 1dbde7b1c3e40b9ce094bf7239404407d9877cc2 Mon Sep 17 00:00:00 2001 From: arne Date: Fri, 4 Apr 2025 12:03:13 +0200 Subject: [PATCH] fix usage of `screenshottable` middleware --- src/aphorisms/thirty.clj | 2 +- src/aphorisms/thirty_five.clj | 2 +- src/aphorisms/thirty_four.clj | 2 +- src/aphorisms/thirty_one.clj | 2 +- src/aphorisms/thirty_seven.clj | 2 +- src/aphorisms/thirty_six.clj | 2 +- src/aphorisms/thirty_three.clj | 2 +- src/aphorisms/thirty_two.clj | 2 +- src/aphorisms/twenty_eight.clj | 2 +- src/aphorisms/twenty_nine.clj | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/aphorisms/thirty.clj b/src/aphorisms/thirty.clj index 8129991..1de4953 100644 --- a/src/aphorisms/thirty.clj +++ b/src/aphorisms/thirty.clj @@ -54,4 +54,4 @@ :setup setup ;; :update update-state :draw draw-state - :middleware [qm/pause-on-error (screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode (screenshottable)]) diff --git a/src/aphorisms/thirty_five.clj b/src/aphorisms/thirty_five.clj index 0f73095..915d7b5 100644 --- a/src/aphorisms/thirty_five.clj +++ b/src/aphorisms/thirty_five.clj @@ -55,6 +55,6 @@ :mouse-pressed mouse-pressed :update identity :draw draw-state - :middleware [qm/pause-on-error #_(screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode #_(screenshottable)]) (defn -main [& _args]) diff --git a/src/aphorisms/thirty_four.clj b/src/aphorisms/thirty_four.clj index f60f4cb..b6e3c17 100644 --- a/src/aphorisms/thirty_four.clj +++ b/src/aphorisms/thirty_four.clj @@ -158,4 +158,4 @@ :setup setup :update identity :draw draw-state - :middleware [qm/pause-on-error #_(screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode #_(screenshottable)]) diff --git a/src/aphorisms/thirty_one.clj b/src/aphorisms/thirty_one.clj index 55e1c61..8ebb7c3 100644 --- a/src/aphorisms/thirty_one.clj +++ b/src/aphorisms/thirty_one.clj @@ -46,4 +46,4 @@ :setup setup ;; :update update-state :draw draw-state - :middleware [qm/pause-on-error #_(screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode #_(screenshottable)]) diff --git a/src/aphorisms/thirty_seven.clj b/src/aphorisms/thirty_seven.clj index 76a97a9..e8b42aa 100644 --- a/src/aphorisms/thirty_seven.clj +++ b/src/aphorisms/thirty_seven.clj @@ -38,4 +38,4 @@ :setup setup :update identity :draw draw-state - :middleware [qm/pause-on-error #_(screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode #_(screenshottable)]) diff --git a/src/aphorisms/thirty_six.clj b/src/aphorisms/thirty_six.clj index d32be07..07dd92d 100644 --- a/src/aphorisms/thirty_six.clj +++ b/src/aphorisms/thirty_six.clj @@ -90,4 +90,4 @@ :setup setup :update identity :draw draw-state - :middleware [qm/pause-on-error #_(screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode #_(screenshottable)]) diff --git a/src/aphorisms/thirty_three.clj b/src/aphorisms/thirty_three.clj index f7459eb..a17cc74 100644 --- a/src/aphorisms/thirty_three.clj +++ b/src/aphorisms/thirty_three.clj @@ -61,4 +61,4 @@ :setup setup :update identity :draw draw-state - :middleware [qm/pause-on-error #_(screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode #_(screenshottable)]) diff --git a/src/aphorisms/thirty_two.clj b/src/aphorisms/thirty_two.clj index c60948b..01686e3 100644 --- a/src/aphorisms/thirty_two.clj +++ b/src/aphorisms/thirty_two.clj @@ -94,4 +94,4 @@ :setup setup :update update-state :draw draw-state - :middleware [qm/pause-on-error #_(screenshottable) qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode #_(screenshottable)]) diff --git a/src/aphorisms/twenty_eight.clj b/src/aphorisms/twenty_eight.clj index a7ec978..48b0fcd 100644 --- a/src/aphorisms/twenty_eight.clj +++ b/src/aphorisms/twenty_eight.clj @@ -38,4 +38,4 @@ :setup setup :update update-state :draw draw-state - :middleware [(screenshottable) qm/pause-on-error qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode (screenshottable)]) diff --git a/src/aphorisms/twenty_nine.clj b/src/aphorisms/twenty_nine.clj index 52beffd..59d556a 100644 --- a/src/aphorisms/twenty_nine.clj +++ b/src/aphorisms/twenty_nine.clj @@ -57,4 +57,4 @@ :setup setup ;; :update update-state :draw draw-state - :middleware [(screenshottable) qm/pause-on-error qm/fun-mode]) + :middleware [qm/pause-on-error qm/fun-mode (screenshottable)])