updating name font size less often

This commit is contained in:
Miodec 2023-05-17 14:42:02 +02:00
parent 2749360d3e
commit 1d7acdfc20

View file

@ -346,7 +346,7 @@ $(".details .editProfileButton").on("click", () => {
});
});
const throttledEvent = throttle(250, () => {
const throttledEvent = throttle(1000, () => {
const activePage = ActivePage.get();
if (activePage && ["account", "profile"].includes(activePage)) {
updateNameFontSize(activePage as ProfileViewPaths);