Merge branch 'master' into production

This commit is contained in:
HF 2022-02-09 22:19:13 +01:00
commit ba3adfead6
3 changed files with 7 additions and 7 deletions

View File

@ -848,16 +848,18 @@ export function hideAllWindowTypes(
} }
export function openChatWindow() { export function openChatWindow() {
const width = 350;
const height = 350;
return openWindow( return openWindow(
'CHAT', 'CHAT',
'', '',
false, false,
true, true,
{ chatChannel: 1, inputMessage: '' }, { chatChannel: 1, inputMessage: '' },
window.innerWidth - 350 - 62, window.innerWidth - width - 62,
window.innerHeight - 220 - 64, window.innerHeight - height - 64,
350, width,
220, height,
); );
} }

View File

@ -119,8 +119,6 @@ export default class MString {
const chr = this.txt[yEnd]; const chr = this.txt[yEnd];
if (yEnd >= this.txt.length if (yEnd >= this.txt.length
|| chr === '\n' || chr === '\n'
|| chr === '['
|| chr === '('
) { ) {
return null; return null;
} }

View File

@ -680,7 +680,7 @@ tr:nth-child(even) {
.chatmsg { .chatmsg {
font-size: 13px; font-size: 13px;
user-select: text; user-select: text;
margin: 0; margin: 5px 0 0 0;
} }
.chatmsg:hover { .chatmsg:hover {
background-color: #ececec; background-color: #ececec;