Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] function_type.gd:34 @ _draw(): The draw_rect() "width" argument has no effect when "filled" is "true". #106

Open
AmyGilhespy opened this issue May 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AmyGilhespy
Copy link

Describe the bug
W 0:01:08:0375 function_type.gd:34 @ _draw(): The draw_rect() "width" argument has no effect when "filled" is "true".
<C++ Source> scene/main/canvas_item.cpp:687 @ draw_rect()
function_type.gd:34 @ _draw()

To Reproduce
Make a pie chart.

Expected behavior
No warnings.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Godot Engine Version 4.2.2-mono
  • Plugin Version v24.05.06

Additional context
Just remove the width argument when you're using filled rects. See the docs:
https://docs.godotengine.org/en/stable/classes/class_canvasitem.html#class-canvasitem-method-draw-rect

@AmyGilhespy AmyGilhespy added the bug Something isn't working label May 11, 2024
@AmyGilhespy
Copy link
Author

In function_type.gd, lines 36 and 47 seem to be affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants