Re-render character list when done editing. Decrease margin to prevent accidental clicks

This commit is contained in:
Cohee 2023-11-07 20:43:24 +02:00
parent dbc7f460e4
commit bea3b5d720
2 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#rm_print_characters_block.group_overlay_mode_select .character_select {
transition: background-color 0.4s ease;
margin-bottom: 0.5em;
margin-bottom: 1px;
background-color: rgba(170, 170, 170, 0.15);
}

View File

@ -8,6 +8,7 @@ import {
eventSource,
getCharacters,
getRequestHeaders,
printCharacters,
this_chid
} from "../script.js";
@ -231,6 +232,8 @@ class BulkTagPopupHandler {
if (popupElement) {
document.body.removeChild(popupElement);
}
printCharacters(true);
}
/**
@ -243,6 +246,8 @@ class BulkTagPopupHandler {
const key = getTagKeyForCharacter(characterId);
if (key) tag_map[key] = [];
});
printCharacters(true);
}
}