Adanos020 / egui_dock

Docking support for egui – an immediate-mode GUI library for Rust
MIT License
458 stars 75 forks source link

Dragging tabs is visually broken #224

Closed LennysLounge closed 9 months ago

LennysLounge commented 9 months ago

Describe the bug When dragging a tab it is sometimes offset by some amount relative to the previous tab that was dragged.

To Reproduce Run the "simple" example. 1) Select tab 1 2) Select tab 2 3) Drag tab 1. The drag indicator should now be offset by some strange amount

Expected behavior Drag indicator should be correctly locked to the pointer.

Screenshots

https://github.com/Adanos020/egui_dock/assets/25527438/9c6e0851-8bc9-490c-abe8-a161d809edb9