Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/config/dynamic-theme-fixes.config
Original file line number Diff line number Diff line change
Expand Up @@ -3589,6 +3589,9 @@ CSS
filter: invert(90%) !important;
}

IGNORE IMAGE ANALYSIS
*

================================

bbc.com
Expand Down Expand Up @@ -30744,6 +30747,22 @@ INVERT

================================

vijaysales.com

INVERT
img[src*=".svg"]

CSS
#vscontainer-c8c1c1c302,
[style*="Background.jpg"] {
background-image: none !important;
}
.custom-hamburger .bar {
background-color: var(--darkreader-neutral-text) !important;
}

================================

vimeo.com

INVERT
Expand Down
10 changes: 6 additions & 4 deletions src/ui/controls/slider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ interface SliderProps {
max: number;
step: number;
formatValue: (value: number) => string;
onChange: (value: number | null) => void;
onPreview?: (value: number | null) => void;
onChange: (value: number) => void;
onPreview?: (value: number) => void;
}

interface SliderStore {
Expand Down Expand Up @@ -178,8 +178,10 @@ export default function Slider(props: SliderProps) {
const refreshOnWheel = throttle(() => {
store.activeValue = stickToStep(store.wheelValue!, props.step);
store.wheelTimeoutId = setTimeout(() => {
const {onChange} = store.activeProps;
onChange(store.activeValue);
if (store.activeValue != null) {
const {onChange} = store.activeProps;
onChange(store.activeValue);
}
store.isActive = false;
store.activeValue = null;
store.wheelValue = null;
Expand Down