Skip to content

Commit

Permalink
Fix Slider
Browse files Browse the repository at this point in the history
  • Loading branch information
hackermare committed Mar 19, 2023
1 parent dd217fa commit 8a21b38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AutoScroll.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name AutoScroll
* @author programmerpony
* @description Autoscroll with the mouse wheel button on GNU/Linux and macOS!
* @version 0.2.6
* @version 0.2.7
* @updateUrl https://raw.githubusercontent.com/hackermare/BD-AutoScroll/main/AutoScroll.plugin.js
* @authorLink https://programmerpony.com/
* @donate https://liberapay.com/programmerpony/
Expand All @@ -17,7 +17,7 @@ This plugin is under the following license:
-- X11/MIT License --
Copyright © 2010-2018 Paul Chapman <[email protected]>
Copyright © 2022 programmerpony <[email protected]>
Copyright © 2022-2023 programmerpony <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -71,7 +71,7 @@ const math = {
}
}

const Slider = BdApi.Webpack.getModule(m => m?.defaultProps?.maxValue == 100, {searchExports: true});
const Slider = BdApi.Webpack.getModule(m => m?.defaultProps?.stickToMarkers === false, {searchExports: true});
const Checkbox = BdApi.Webpack.getModule(m => m?.toString?.().includes("tooltipNote"), {searchExports: true});
const Switch = ({ onChange, defaultValue, note, children }) => {
const [value, setValue] = BdApi.React.useState(defaultValue);
Expand Down Expand Up @@ -102,7 +102,7 @@ module.exports = class AutoScroll {
return 'AutoScroll';
}
getVersion() {
return '0.2.6';
return '0.2.7';
}
getAuthor() {
return 'programmerpony';
Expand Down

0 comments on commit 8a21b38

Please sign in to comment.