hoffstadt / hoffstadt/DearPyGui

Editor Drags while window clicked

Open
#2,161 0 comments 2 reactions 0 assignees View on GitHub
state: pending type: bug
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

## Version of Dear PyGui

Version: XXX
Operating System: XXX (Windows 10, macOs xx, Ubuntu 20.04, etc.)

## My Issue/Question

![node_editor_bug](https://github.com/hoffstadt/DearPyGui/assets/84661606/4ff700cd-3003-49d1-a4b1-b845ccdbd9d1)

## Standalone, minimal, complete and verifiable example

```python
import dearpygui.dearpygui as dpg
from dearpygui.demo import show_demo

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window(label="Example Window") as main:
with dpg.node_editor():
node = dpg.add_node(use_internal_label=False, label="")
dpg.add_node_attribute(parent=node, category=dpg.mvNode_Attr_Output)
with dpg.window(label="nice", width=50, height=100):
dpg.add_text("hans")

dpg.set_primary_window(main, True)

dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.