mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Corrected window size to unify with other examples
This commit is contained in:
		| @@ -16,7 +16,7 @@ int main() | |||||||
|     // Initialization |     // Initialization | ||||||
|     //-------------------------------------------------------------------------------------- |     //-------------------------------------------------------------------------------------- | ||||||
|     int screenWidth = 800; |     int screenWidth = 800; | ||||||
|     int screenHeight = 400; |     int screenHeight = 450; | ||||||
|  |  | ||||||
|     InitWindow(screenWidth, screenHeight, "raylib [core] example - color selection (collision detection)"); |     InitWindow(screenWidth, screenHeight, "raylib [core] example - color selection (collision detection)"); | ||||||
|  |  | ||||||
| @@ -30,7 +30,7 @@ int main() | |||||||
|     for (int i = 0; i < 21; i++) |     for (int i = 0; i < 21; i++) | ||||||
|     { |     { | ||||||
|         colorsRecs[i].x = 20 + 100*(i%7) + 10*(i%7); |         colorsRecs[i].x = 20 + 100*(i%7) + 10*(i%7); | ||||||
|         colorsRecs[i].y = 40 + 100*(i/7) + 10*(i/7); |         colorsRecs[i].y = 60 + 100*(i/7) + 10*(i/7); | ||||||
|         colorsRecs[i].width = 100; |         colorsRecs[i].width = 100; | ||||||
|         colorsRecs[i].height = 100; |         colorsRecs[i].height = 100; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 raysan5
					raysan5