This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Scenes/UI/Panels/Logs.gd

17 lines
328 B
GDScript

extends Control
onready var chat_bar = $ResizablePanel/LineEdit
func _input(event):
if event is InputEventMouseButton:
if not chat_bar_focus:
chat_bar.release_focus()
var chat_bar_focus = false
func _chat_bar_status(editing):
$"/root/scene".writing = editing
func _chat_bar_focus(entered):
chat_bar_focus = entered