tab switching keybind for keybinds cheatsheet

This commit is contained in:
end-4
2024-06-10 22:06:04 +07:00
parent 2c1dfcc711
commit b6e34a4ab1
2 changed files with 14 additions and 3 deletions
+2 -2
View File
@@ -108,11 +108,11 @@ export default () => Box({
// Switch API type
else if (checkKeybind(event, userOptions.keybinds.sidebar.apis.nextTab)) {
const toSwitchTab = widgetContent.attribute.children[widgetContent.attribute.shown.value];
toSwitchTab.attribute.nextTab();
toSwitchTab.nextTab();
}
else if (checkKeybind(event, userOptions.keybinds.sidebar.apis.prevTab)) {
const toSwitchTab = widgetContent.attribute.children[widgetContent.attribute.shown.value];
toSwitchTab.attribute.prevTab();
toSwitchTab.prevTab();
}
}