Show a dummy toolbar
Does not do anything for the moment
This commit is contained in:
@@ -402,6 +402,10 @@ function core.init()
|
||||
local cur_node = core.root_view.root_node
|
||||
cur_node.is_primary_node = true
|
||||
cur_node = cur_node:split("down", core.command_view, true)
|
||||
local got_toolbar, ToolbarView = core.try(require, "plugins.toolbarview")
|
||||
if got_toolbar then
|
||||
cur_node = cur_node:split("up", ToolbarView(), true)
|
||||
end
|
||||
cur_node = cur_node:split("down", core.status_view, true)
|
||||
|
||||
core.project_scan_thread_id = core.add_thread(project_scan_thread)
|
||||
|
||||
+2
-1
@@ -23,7 +23,8 @@ style.tab_width = common.round(170 * SCALE)
|
||||
-- The antialiasing grayscale with full hinting is interesting for crisp font rendering.
|
||||
style.font = renderer.font.load(DATADIR .. "/fonts/font.ttf", 14 * SCALE)
|
||||
style.big_font = renderer.font.load(DATADIR .. "/fonts/font.ttf", 34 * SCALE)
|
||||
style.icon_font = renderer.font.load(DATADIR .. "/fonts/icons.ttf", 14 * SCALE, {antialiasing="grayscale", hinting="full"})
|
||||
style.icon_font = renderer.font.load(DATADIR .. "/fonts/fontello.ttf", 14 * SCALE, {antialiasing="grayscale", hinting="full"})
|
||||
style.icon_big_font = renderer.font.load(DATADIR .. "/fonts/fontello.ttf", 20 * SCALE, {antialiasing="grayscale", hinting="full"})
|
||||
style.code_font = renderer.font.load(DATADIR .. "/fonts/monospace.ttf", 13.5 * SCALE)
|
||||
|
||||
style.background = { common.color "#2e2e32" }
|
||||
|
||||
Reference in New Issue
Block a user