Moved config.treeview_size from config.lua to treeview.lua

This commit is contained in:
rxi
2020-05-16 09:44:31 +01:00
parent 5102088aca
commit 15129b49a6
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -6,9 +6,7 @@ local keymap = require "core.keymap"
local style = require "core.style"
local View = require "core.view"
local TreeView = View:extend()
config.treeview_size = 200 * SCALE
local function get_depth(filename)
local n = 0
@@ -19,6 +17,8 @@ local function get_depth(filename)
end
local TreeView = View:extend()
function TreeView:new()
TreeView.super.new(self)
self.scrollable = true