hoffstadt / hoffstadt/DearPyGui
Drag Point Thickness parameter is ignored
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
## Version of Dear PyGui
Version: 1.8.0
Operating System: Archlinux
## My Issue/Question
Modifying the thickness parameter of add_drag_point does not change the thickness of the shown point, it stays the same size.
## To Reproduce
Steps to reproduce the behavior:
- Run the example below.
- See how all points have the same size regardless of the thickness parameter value
## Expected behavior
A drag point size should change according to the thickness parameter given.
## Screenshots/Video

## Standalone, minimal, complete and verifiable example
```
import dearpygui.dearpygui as dpg
dpg.create_context()
dpg.create_viewport(title='Test', width=1500, height=500)
with dpg.window(label="Annotation", tag="primary"):
with dpg.plot(label="Image Plot", height=-1, width=-1, equal_aspects=True):
dpg.add_drag_point(label="green", color=[86, 226, 61, 255], default_value=[0.1, 0.1])
dpg.add_drag_point(label="red", color=[137, 21, 11, 255], default_value=[0.2, 0.1], thickness=1.0)
dpg.add_drag_point(label="blue", color=[18, 42, 229, 255], default_value=[0.3, 0.1], thickness=400.0)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.set_primary_window("primary", True)
dpg.start_dearpygui()
dpg.destroy_context()
```
Contributor guide
Assessment
This issue has not been assessed yet.