mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Add more scroll examples
This commit is contained in:
@@ -43,8 +43,7 @@ local Druid = class("druid.druid_instance")
|
||||
|
||||
|
||||
local function input_init(self)
|
||||
-- TODO: To custom settings
|
||||
if not settings.auto_focus_gain then
|
||||
if not sys.get_config("druid.auto_focus") == "1" then
|
||||
return
|
||||
end
|
||||
|
||||
|
@@ -4,10 +4,7 @@
|
||||
|
||||
local M = {}
|
||||
|
||||
M.is_debug = false
|
||||
M.default_style = nil
|
||||
M.auto_focus_gain = true
|
||||
|
||||
|
||||
function M.get_text(name)
|
||||
return "[Druid]: locales not inited"
|
||||
@@ -18,11 +15,4 @@ function M.play_sound(name)
|
||||
end
|
||||
|
||||
|
||||
function M.log(...)
|
||||
if M.is_debug then
|
||||
print("[Druid]: ", ...)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
|
Reference in New Issue
Block a user