Browse Source

remove clock panel and add it permanently at the top

rorist 3 months ago
parent
commit
3cd55eb771
1 changed files with 2 additions and 1 deletions
  1. 2 1
      node.lua

+ 2 - 1
node.lua

@@ -224,7 +224,6 @@ local cycling = cycler(util.generator(function()
         return {
             panel_spaceapi(),
             panel_events(),
-            panel_clock(),
         }
     end), 8)
 
@@ -234,6 +233,8 @@ function node.render()
     cycling:draw()
     scroll:draw()
 
+    util.draw_correct(resource.render_child("analogclock"), 260, 260, WIDTH/2+750, 10)
+
     local pos = 30
     font:write(WIDTH-650, pos, "DL: " .. network_in .. "/s", 80, 1,1,1,1)
     font:write(WIDTH-650, pos+70, "UP: " .. network_out .. "/s", 80, 1,1,1,1)