Fixes after merges, prettier globally applied

This commit is contained in:
Anarios committed 2022-07-26 00:05:20 +02:00
1 parent 58161ac123
commit b0cb173830
47 files changed
+2183 -1942

No files matched your search

+8 -4
View File
@@ -280,10 +280,14 @@ function storageChangeHandler(changes, area) {
);
}
if (changes.showTooltipPercentage !== undefined) {
handleShowTooltipPercentageChangeEvent(changes.showTooltipPercentage.newValue);
handleShowTooltipPercentageChangeEvent(
changes.showTooltipPercentage.newValue
);
}
if (changes.numberDisplayReformatLikes !== undefined) {
handleNumberDisplayReformatLikesChangeEvent(changes.numberDisplayReformatLikes.newValue);
handleNumberDisplayReformatLikesChangeEvent(
changes.numberDisplayReformatLikes.newValue
);
}
}
@@ -302,14 +306,14 @@ function handleNumberDisplayFormatChangeEvent(value) {
function handleShowTooltipPercentageChangeEvent(value) {
extConfig.showTooltipPercentage = value;
};
}
function handleTooltipPercentageModeChangeEvent(value) {
if (!value) {
value = "dash_like";
}
extConfig.tooltipPercentageMode = value;
};
}
function handleNumberDisplayRoundDownChangeEvent(value) {
extConfig.numberDisplayRoundDown = value;