Skip to content

Commit

Permalink
fix(wrapper/ReactHook): make DragHandler findable again (#2744)
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri authored Dec 31, 2023
1 parent 01df24a commit 33fa1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsHelper/spicetifyWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ window.Spicetify = {
...Object.fromEntries(menus)
},
ReactHook: {
DragHandler: functionModules.find(m => m.toString().includes("data-dragging-uri")),
DragHandler: functionModules.find(m => m.toString().includes("setDropOriginUri") && m.toString().includes("data-dragging")),
usePanelState: functionModules.find(m => m.toString().includes("setPanelState")),
useExtractedColor: functionModules.find(
m => m.toString().includes("extracted-color") || (m.toString().includes("colorRaw") && m.toString().includes("useEffect"))
Expand Down

0 comments on commit 33fa1ee

Please sign in to comment.