Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A special case for controls with emulated headsets #8

Merged
merged 2 commits into from
Nov 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Removed duplicate entries in the light table and clarified the intent…
…ion behind local font declaration
  • Loading branch information
Calandiel committed Nov 17, 2022
commit d8f9ef5d638ce9c7b33010399206ac3ed2d3d8df
6 changes: 1 addition & 5 deletions ui/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ local controller_vibrate = false
local image_buttons_default_ttl = 2
local whiteboards_default_ttl = 2
local utf8 = {}
local font = { handle, w, h, scale = 1 }
local font = { handle = nil, w = nil, h = nil, scale = 1 }
local caret = { blink_rate = 50, counter = 0 }
local listbox_state = {}
local textbox_state = {}
Expand Down Expand Up @@ -129,10 +129,6 @@ color_themes.light =
list_highlight = { 0.808, 0.810, 0.811 },
check_mark = { 0.000, 0.000, 0.000 },
radio_border = { 0.000, 0.000, 0.000 },
list_selected = { 0.686, 0.687, 0.688 },
list_highlight = { 0.808, 0.810, 0.811 },
check_mark = { 0.000, 0.000, 0.000 },
radio_border = { 0.000, 0.000, 0.000 },
radio_border_hover = { 0.760, 0.760, 0.760 },
textbox_border_focused = { 0.000, 0.000, 1.000 },
button_bg_click = { 0.120, 0.120, 0.120 },
Expand Down