mirror of
https://github.com/Vendicated/Vencord.git
synced 2026-10-28 09:43:46 +00:00
fix context menu sliders (#4734)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
1 parent
09ccb3a11c
commit
92b60acfcb
1 file changed
+1
-1
@@ -22,7 +22,7 @@ import { filters, mapMangledModuleLazy, waitFor } from "@webpack";
|
||||
export const Menu = {} as t.Menu;
|
||||
|
||||
waitFor(filters.componentByCode('path:["empty"]'), m => Menu.Menu = m);
|
||||
waitFor(filters.componentByCode("SLIDER)", "handleSize:16"), m => Menu.MenuSliderControl = m);
|
||||
waitFor(filters.componentByCode(".SLIDER", "renderValue"), m => Menu.MenuSliderControl = m);
|
||||
waitFor(filters.componentByCode(".SEARCH)", ".focus()", "query:"), m => Menu.MenuSearchControl = m);
|
||||
|
||||
export const ContextMenuApi: t.ContextMenuApi = mapMangledModuleLazy('type:"CONTEXT_MENU_OPEN', {
|
||||
|
||||
Reference in new issue
Block a user