feat: move top screen components to own folder, and implement calendar
This commit is contained in:
@@ -36,7 +36,11 @@ const renderFrame = (timestamp: number) => {
|
||||
ctx.clearRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
|
||||
for (const callback of renderCallbacks) {
|
||||
ctx.save();
|
||||
|
||||
callback(ctx);
|
||||
|
||||
ctx.restore();
|
||||
}
|
||||
|
||||
lastRealFrameTime = Date.now() - start;
|
||||
|
||||
Reference in New Issue
Block a user