浏览代码

Update textures_mouse_painting.c

pull/1120/head
Ray 5 年前
父节点
当前提交
117696a893
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/textures/textures_mouse_painting.c

+ 1
- 1
examples/textures/textures_mouse_painting.c 查看文件

@ -166,7 +166,7 @@ int main(void)
// Draw drawing circle for reference // Draw drawing circle for reference
if (mousePos.y > 50) 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]); else DrawCircle(GetMouseX(), GetMouseY(), brushSize, colors[colorSelected]);
} }

正在加载...
取消
保存