ソースを参照

Update core_undo_redo.c

pull/4578/merge
Ray 3週間前
committed by GitHub
コミット
9931ddd27a
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: B5690EEEBB952194
1個のファイルの変更2行の追加3行の削除
  1. +2
    -3
      examples/core/core_undo_redo.c

+ 2
- 3
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);
}
}

読み込み中…
キャンセル
保存