Merge pull request #2 from Kilbukas/chat-font-inherit

Use main window font and font size for chat window.
This commit is contained in:
Matthew Wagner 2021-06-08 08:14:11 -07:00 committed by GitHub
commit 9f265290e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,8 @@ function lotj.chat.setup()
autoWrap = false,
color = "black",
scrollBar = true,
fontSize = 12,
font = getFont(),
fontSize = getFontSize(),
}, contentsContainer)
-- Set the wrap at a few characters short of the full width to avoid the scroll bar showing over text