summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-12-30 11:07:48 -0800
committerlouie <lshprung@yahoo.com>2020-12-30 11:07:48 -0800
commitd7cc4b460523abbe3a4ed85066939cf89df41080 (patch)
treecf368bab3b6f47e376729762be91a9e7df35d554 /draw.c
parente7c5382d71339d15f2b96e7ee06e5ef3639df837 (diff)
Fixed small graphical issue when loading from cache
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/draw.c b/draw.c
index e3217d1..f82435d 100644
--- a/draw.c
+++ b/draw.c
@@ -90,6 +90,14 @@ int main(int argc, char **argv){
update_display(false);
//update highlighting for loaded location
+ if(true_hover){
+ i = e_hover;
+ true_hover = 0;
+ trav_col(g_hover);
+ switch_col();
+ trav_col(i);
+ }
+ else trav_col(g_hover);
update_display(true);
//drawing is done, now run a while loop to receive input (ESC ends this loop)