From 9931ddd27a8db307c0194095e98dfeb526b1ef62 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 13 Sep 2025 21:17:16 +0200 Subject: [PATCH] Update core_undo_redo.c --- examples/core/core_undo_redo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/core/core_undo_redo.c b/examples/core/core_undo_redo.c index dc0590a69..874f68800 100644 --- a/examples/core/core_undo_redo.c +++ b/examples/core/core_undo_redo.c @@ -116,7 +116,7 @@ int main(void) player.color.b = (unsigned char)GetRandomValue(20, 240); } - // Undo layout change logic + // Undo state change logic undoFrameCounter++; // Waiting a number of frames before checking if we should store a new state snapshot @@ -176,7 +176,6 @@ int main(void) // Draw //---------------------------------------------------------------------------------- BeginDrawing(); - ClearBackground(RAYWHITE); // Draw controls info @@ -310,4 +309,4 @@ static void DrawUndoBuffer(Vector2 position, int firstUndoIndex, int lastUndoInd // Draw current selected UNDO slot DrawRectangle(position.x + slotSize*currentUndoIndex, position.y, slotSize, slotSize, GOLD); DrawRectangleLines(position.x + slotSize*currentUndoIndex, position.y, slotSize, slotSize, ORANGE); -} \ No newline at end of file +}