Browse Source

Update textures_mouse_painting.c

pull/1120/head
Ray 5 years ago
parent
commit
117696a893
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/textures/textures_mouse_painting.c

+ 1
- 1
examples/textures/textures_mouse_painting.c View File

@ -166,7 +166,7 @@ int main(void)
// Draw drawing circle for reference
if (mousePos.y > 50)
{
if (IsMouseButtonDown(MOUSE_RIGHT_BUTTON)) DrawCircleLines(mousePos.x, mousePos.y, brushSize, colors[colorSelected]);
if (IsMouseButtonDown(MOUSE_RIGHT_BUTTON)) DrawCircleLines(mousePos.x, mousePos.y, brushSize, GRAY);
else DrawCircle(GetMouseX(), GetMouseY(), brushSize, colors[colorSelected]);
}

Loading…
Cancel
Save