Repostion command list gui text

This commit is contained in:
Aussiemon 2023-03-19 01:42:46 -06:00
parent c1e05b5425
commit 293ca07904
2 changed files with 1 additions and 5 deletions

View file

@ -80,8 +80,6 @@ end
dmf:hook("ConstantElementChat", "_handle_active_chat_input", function(func, self, input_service, ui_renderer, ...)
initialize_drawing_function()
local command_executed = false
_chat_message = get_chat_message(self)
_chat_opened = true
@ -128,8 +126,6 @@ dmf:hook("ConstantElementChat", "_handle_active_chat_input", function(func, self
set_chat_message(self, "")
command_executed = true
elseif string.sub(_chat_message, 1, 1) == "/" then
dmf:notify(dmf:localize("chat_command_not_recognized") .. ": " .. _chat_message)
set_chat_message(self, "")

View file

@ -10,7 +10,7 @@ local FONT_SIZE = 22
local MAX_COMMANDS_VISIBLE = 5
local STRING_HEIGHT = 25
local STRING_Y_OFFSET = 7
local STRING_Y_OFFSET = 2
local STRING_X_MARGIN = 10
local OFFSET_X = 10