Add more scroll examples

This commit is contained in:
Insality
2020-03-19 00:07:55 +03:00
parent 5ef9e6fa65
commit 85e2235bae
9 changed files with 394 additions and 36 deletions

View File

@@ -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

View File

@@ -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