DragDropTarget clipping issue #4281

Closed
opened 2021-06-29 15:47:34 +00:00 by skaarj1989 · 1 comment
skaarj1989 commented 2021-06-29 15:47:34 +00:00 (Migrated from github.com)

Version/Branch of Dear ImGui:

Version: 1.84 WIP (18308)
Branch: docking

Back-end/Renderer/Compiler/OS

Back-ends: All of them

My Issue/Question:

A border around a drop target is drawn outside a window. I am not sure if this is expected behavior but it looks weird to me.

Screenshots/Video

image

Standalone, minimal, complete and verifiable example:

Demo -> Widgets -> Drag and Drop

**Version/Branch of Dear ImGui:** Version: 1.84 WIP (18308) Branch: docking **Back-end/Renderer/Compiler/OS** Back-ends: All of them **My Issue/Question:** A border around a drop target is drawn outside a window. I am not sure if this is expected behavior but it looks weird to me. **Screenshots/Video** ![image](https://user-images.githubusercontent.com/34756939/123827502-f7780f00-d900-11eb-9ee9-0b9f64df003a.png) **Standalone, minimal, complete and verifiable example:** `Demo -> Widgets -> Drag and Drop`
ocornut commented 2021-06-30 14:14:28 +00:00 (Migrated from github.com)

Pushed a fix with 4ddb6b46c3
This intentional (see initial commit 4b94738c7e) but I frankly can't remember nor understand why I thought it was a good idea back then...
Same issue as #3272

Pushed a fix with 4ddb6b46c314045d75b565fc29170e7cb2327eca This intentional (see initial commit 4b94738c7e64a7a912a72b373063b42a407ec1bd) but I frankly can't remember nor understand why I thought it was a good idea back then... Same issue as #3272
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ocornut/imgui#4281
No description provided.