Re-render character list when done editing. Decrease margin to prevent accidental clicks
This commit is contained in:
parent
dbc7f460e4
commit
bea3b5d720
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#rm_print_characters_block.group_overlay_mode_select .character_select {
|
#rm_print_characters_block.group_overlay_mode_select .character_select {
|
||||||
transition: background-color 0.4s ease;
|
transition: background-color 0.4s ease;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 1px;
|
||||||
background-color: rgba(170, 170, 170, 0.15);
|
background-color: rgba(170, 170, 170, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@ import {
|
||||||
eventSource,
|
eventSource,
|
||||||
getCharacters,
|
getCharacters,
|
||||||
getRequestHeaders,
|
getRequestHeaders,
|
||||||
|
printCharacters,
|
||||||
this_chid
|
this_chid
|
||||||
} from "../script.js";
|
} from "../script.js";
|
||||||
|
|
||||||
|
@ -231,6 +232,8 @@ class BulkTagPopupHandler {
|
||||||
if (popupElement) {
|
if (popupElement) {
|
||||||
document.body.removeChild(popupElement);
|
document.body.removeChild(popupElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printCharacters(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -243,6 +246,8 @@ class BulkTagPopupHandler {
|
||||||
const key = getTagKeyForCharacter(characterId);
|
const key = getTagKeyForCharacter(characterId);
|
||||||
if (key) tag_map[key] = [];
|
if (key) tag_map[key] = [];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
printCharacters(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue