Skip to content

Commit 9e27e99

Browse files
[AccessKit] toggle to disable (some?) XKit animations (#1970)
Co-authored-by: April Sylph <april@sylph.tech>
1 parent bfdb301 commit 9e27e99

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Extensions/accesskit.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//* TITLE AccessKit **//
2-
//* VERSION 2.0.0 **//
2+
//* VERSION 2.0.1 **//
33
//* DESCRIPTION Accessibility tools for Tumblr **//
44
//* DETAILS Provides accessibility tools for XKit and your dashboard, such as increased font sizes, more contrast on icons and more. **//
55
//* DEVELOPER new-xkit **//
@@ -84,6 +84,11 @@ XKit.extensions.accesskit = new Object({
8484
default: false,
8585
value: false
8686
},
87+
xkit_disable_animation: {
88+
text: "Disable some XKit animations",
89+
default: false,
90+
value: false
91+
},
8792
"sep-1": {
8893
text: "Color Adjustments",
8994
type: "separator"
@@ -131,6 +136,8 @@ XKit.extensions.accesskit = new Object({
131136

132137
XKit.tools.init_css('accesskit');
133138

139+
$.fx.off = this.preferences.xkit_disable_animation.value;
140+
134141
if (XKit.page.react) {
135142
const {font, make_links_blue, no_npf_colors, increase_post_margins, xkit_contrast_icons} = this.preferences;
136143

0 commit comments

Comments
 (0)