mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
refactor: remove extra non-essential logging
This commit is contained in:
@@ -6,7 +6,6 @@ import { settingsState } from "../utils/listeners/SettingsState";
|
||||
import { updateAllColors } from "./colors/Manager";
|
||||
|
||||
export async function AddBetterSEQTAElements() {
|
||||
console.log('AddBetterSEQTAElements');
|
||||
if (settingsState.onoff) {
|
||||
initializeSettings();
|
||||
if (settingsState.DarkMode) {
|
||||
|
||||
@@ -18,7 +18,6 @@ export function updateBgDurations() {
|
||||
maxBase = 150,
|
||||
) => {
|
||||
const scaledValue = 2 + ((maxBase - baseValue) / (maxBase - minBase)) ** 4;
|
||||
console.log(scaledValue);
|
||||
return scaledValue + offset;
|
||||
};
|
||||
|
||||
|
||||
@@ -108,10 +108,8 @@ const main = async (): Promise<void> => {
|
||||
}
|
||||
});
|
||||
} catch (error) {
|
||||
console.log('An error occurred:', error);
|
||||
console.error('An error occurred:', error);
|
||||
}
|
||||
};
|
||||
|
||||
main()
|
||||
// Run the main function when the document is ready
|
||||
//document.addEventListener('DOMContentLoaded', main);
|
||||
main()
|
||||
Reference in New Issue
Block a user