From dc38389c8a1f53a0dc61e5d23a8b1699b8020a37 Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Sun, 5 Aug 2018 14:54:49 -0400 Subject: [PATCH] split bar into static and dynamic drawing --- core | 2 +- drawing/FileSystem.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core b/core index 9ff0dee..26bbebf 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 9ff0deec0e7d77be7d6dd322c57889fe37d316ca +Subproject commit 26bbebf6fb40c7ad4762dd0b884b85c22d3a98b4 diff --git a/drawing/FileSystem.lua b/drawing/FileSystem.lua index d0f0bb3..e2d894b 100644 --- a/drawing/FileSystem.lua +++ b/drawing/FileSystem.lua @@ -66,12 +66,13 @@ local draw_static = function(cr) Line.draw(header.underline, cr) TextColumn.draw(labels, cr) + CompoundBar.draw_static(bars, cr) end local draw_dynamic = function(cr, trigger) if trigger == 0 then update(cr) end - CompoundBar.draw(bars, cr) + CompoundBar.draw_dynamic(bars, cr) end M.draw_static = draw_static