rerun-io / egui_tiles

A tiling layout engine for egui with drag-and-drop and resizing
Apache License 2.0
309 stars 25 forks source link

Make sure there is always an active tab #50

Closed emilk closed 9 months ago

emilk commented 9 months ago

When dragging away an active tab, select a new active tab right away. This ensures things like active_tiles works right away, and don't need waiting for the next call to .ui().

Still, if there is no active tab on ui, call behavior.on_edit to inform the user that there has been a new selection.