ui(ui): 💄 Update context menu styling and behavior for improved user interaction

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-28 15:06:23 -07:00
parent 255c8a537f
commit 7d9e9b4fc5

View file

@ -9,6 +9,7 @@ enum Item {
STT_TOGGLE = 3,
GAZE_HALO_TOGGLE = 4,
QUIT = 5,
NEW_CONVERSATION = 6,
}
const BG_DARK := Color("#0D1117")
@ -30,6 +31,7 @@ func _ready() -> void:
func _build_menu() -> void:
add_item("Sound Settings", Item.SOUND_SETTINGS)
add_item("Chat", Item.CHAT)
add_item("New Conversation", Item.NEW_CONVERSATION)
add_separator()
add_check_item("Voice Input (STT)", Item.STT_TOGGLE)
set_item_checked(get_item_index(Item.STT_TOGGLE), CompanionConfig.stt_enabled)
@ -101,5 +103,7 @@ func _on_item_pressed(id: int) -> void:
set_item_checked(idx, enabled)
AppState.set_gaze_halo_enabled(enabled)
EventBus.gaze_halo_toggled.emit(enabled)
Item.NEW_CONVERSATION:
EventBus.conversation_new_requested.emit()
Item.QUIT:
get_tree().quit()