More compact layout of right panel

This commit is contained in:
SillyLossy
2023-05-08 16:09:05 +03:00
parent 7d181fd2e8
commit 977bfbf4f5
5 changed files with 20 additions and 18 deletions

View File

@@ -274,7 +274,7 @@ async function RA_autoloadchat() {
export async function favsToHotswap() {
const selector = ['#rm_print_characters_block .character_select', '#rm_print_characters_block .group_select'].join(',');
const container = $('#rm_PinAndTabs .hotswap');
const container = $('#right-nav-panel .hotswap');
const template = $('#hotswap_template .hotswapAvatar');
container.empty();
const maxCount = 6;

View File

@@ -171,7 +171,7 @@ async function convertSoloToGroupChat() {
const character = characters[this_chid];
// Populate group required fields
const name = getUniqueName(`Chat with ${character.name}`, y => groups.findIndex(x => x.name === y) !== -1);
const name = getUniqueName(`Group: ${character.name}`, y => groups.findIndex(x => x.name === y) !== -1);
const avatar = getThumbnailUrl('avatar', character.avatar);
const chatName = humanizedDateTime();
const chats = [chatName];

View File

@@ -1066,7 +1066,7 @@ async function createGroup() {
const memberNames = characters.filter(x => members.includes(x.avatar)).map(x => x.name).join(", ");
if (!name) {
name = `Chat with ${memberNames}`;
name = `Group: ${memberNames}`;
}
// placeholder