From 0aeeabde695788b8d7c687db7992d42747ccda39 Mon Sep 17 00:00:00 2001 From: Daniel Tang Date: Mon, 6 Mar 2023 03:15:43 -0500 Subject: [PATCH] Fix confusion of reduce_motion with minimalist_mode (#2413) --- qt/aqt/webview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/webview.py b/qt/aqt/webview.py index b6616ed9c..0a69cda6b 100644 --- a/qt/aqt/webview.py +++ b/qt/aqt/webview.py @@ -784,7 +784,7 @@ html {{ {font} }} f"""document.body.classList.toggle("fancy", {json.dumps(not mw.pm.minimalist_mode())}); """ ) self.eval( - f"""document.body.classList.toggle("reduce-motion", {json.dumps(mw.pm.minimalist_mode())}); """ + f"""document.body.classList.toggle("reduce-motion", {json.dumps(mw.pm.reduce_motion())}); """ ) @deprecated(info="use theme_manager.qcolor() instead")