Moving an XMLobject from the script to the layout
This commit is contained in:
parent
75bbf4703e
commit
ce42de4612
@ -44,11 +44,6 @@ function on_open()
|
|||||||
document.sensitivity_track.value = core.get_setting("camera.sensitivity")
|
document.sensitivity_track.value = core.get_setting("camera.sensitivity")
|
||||||
refresh_sensitivity()
|
refresh_sensitivity()
|
||||||
|
|
||||||
document.search_panel:add(string.format(
|
|
||||||
"<checkbox size='100,24' id='search_key_checkbox' consumer='function(x) refresh_search() end' tooltip='%s'>%s</checkbox>",
|
|
||||||
gui.str("controls.key.tooltip", "settings"), gui.str("Key", "settings")
|
|
||||||
))
|
|
||||||
|
|
||||||
local panel = document.bindings_panel
|
local panel = document.bindings_panel
|
||||||
local bindings = input.get_bindings()
|
local bindings = input.get_bindings()
|
||||||
table.sort(bindings, function(a, b) return a > b end)
|
table.sort(bindings, function(a, b) return a > b end)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user