HR after group list display

This commit is contained in:
RossAscends
2023-04-13 04:46:08 +09:00
parent 59923f2d7f
commit 1bf5859117
3 changed files with 7 additions and 6 deletions

View File

@ -626,6 +626,7 @@ function printCharacters() {
);
//console.log('printcharacters() -- printing -- ChID '+i+' ('+item.name+')');
});
$("#rm_print_characters_block").prepend(`<hr>`);
printGroups();
sortCharactersList();
}

View File

@ -200,7 +200,6 @@ function printGroups() {
updateGroupAvatar(group);
}
}
function updateGroupAvatar(group) {
$("#rm_print_characters_block .group_select").each(function () {
if ($(this).data("id") == group.id) {
@ -265,7 +264,7 @@ function getGroupAvatar(group) {
}
async function generateGroupWrapper(by_auto_mode, type=null) {
async function generateGroupWrapper(by_auto_mode, type = null) {
if (online_status === "no_connection") {
is_group_generating = false;
setSendButtonState(false);
@ -377,7 +376,7 @@ async function generateGroupWrapper(by_auto_mode, type=null) {
}
function activateSwipe(members) {
const name = chat[chat.length -1].name;
const name = chat[chat.length - 1].name;
const activatedNames = members.includes(name) ? [name] : [];
const memberIds = activatedNames
.map((x) => characters.findIndex((y) => y.name === x))
@ -591,7 +590,7 @@ function select_group_chats(chat_id) {
$("#rm_group_filter").val("").trigger("input");
$('input[name="rm_group_activation_strategy"]').off();
$('input[name="rm_group_activation_strategy"]').on("input", async function(e) {
$('input[name="rm_group_activation_strategy"]').on("input", async function (e) {
if (chat_id) {
let _thisGroup = groups.find((x) => x.id == chat_id);
_thisGroup.activation_strategy = Number(e.target.value);

View File

@ -353,6 +353,7 @@ code {
#personality_div hr,
#top-settings-holder hr {
background-image: linear-gradient(90deg, var(--transparent), var(--white30a), var(--transparent));
min-height: 1px;
}
.options-content a {