Injector v4.4.0: Custom settings component, reduce logging

pull/8/head
Oj18 4 years ago
parent 94b15fca2e
commit 6bff8fbf7d

@ -1,5 +1,14 @@
# GooseMod Changelog
## v4.4.0 [2020-10-30]
- ### Features
- Added custom component to settings UI API
- ### Tweaks
- Reduced old logging in sidebar settings generation
## v4.3.0 [2020-10-29]
- ### Features

@ -1,6 +1,6 @@
import sleep from '../util/sleep';
const image = 'https://media.discordapp.net/attachments/756146058924392542/771374562184658944/2018-11-14-11-36-30-1200x800.png?width=853&height=569';
const image = 'https://media.discordapp.net/attachments/756146058924392542/771800749687832616/goosemod_v440_banner.jpg?width=779&height=520';
const changelogURL = 'https://goosemod-api.netlify.app/latestChangelogRelease.json';
let version, generated;

@ -889,7 +889,6 @@ export const _createItem = (panelName, content, clickHandler, danger = false) =>
e.children(contentEl).then((children) => {
for (let c of children) {
console.log(c);
let mainEl = document.createElement('div');
mainEl.classList.add('flex-1xMQg5', 'flex-1O1GKY', 'horizontal-1ae9ci', 'horizontal-2EEEnY', 'flex-1O1GKY', 'directionRow-3v3tfG', 'justifyBetween-2tTqYu', 'alignCenter-1dQNNs', 'noWrap-3jynv6', 'item-3eFBNF');
@ -925,12 +924,11 @@ export const _createItem = (panelName, content, clickHandler, danger = false) =>
}
});
/*let dividerEl = document.createElement('div');
dividerEl.classList.add('divider-3573oO', 'dividerDefault-3rvLe-');
dividerEl.style.marginTop = e.subtext ? '20px' : '45px';
break;
}
el.appendChild(dividerEl);*/
case 'custom': {
el = e.element;
break;
}

Loading…
Cancel
Save