Formatting
This commit is contained in:
@@ -12,10 +12,13 @@
|
|||||||
|
|
||||||
let chatBoxHistory = [];
|
let chatBoxHistory = [];
|
||||||
let bottomMessageIndex = 0;
|
let bottomMessageIndex = 0;
|
||||||
|
let maxChatBoxHistory = 500;
|
||||||
|
|
||||||
let scrollAmount = 1;
|
let scrollAmount = 1;
|
||||||
let maxChatBoxLines = 6;
|
let maxChatBoxLines = 6;
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
bindKey(SDLK_PAGEUP, KEYSTATE_DOWN, chatBoxScrollUp);
|
bindKey(SDLK_PAGEUP, KEYSTATE_DOWN, chatBoxScrollUp);
|
||||||
bindKey(SDLK_PAGEDOWN, KEYSTATE_DOWN, chatBoxScrollDown);
|
bindKey(SDLK_PAGEDOWN, KEYSTATE_DOWN, chatBoxScrollDown);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user