mirror of
https://github.com/storytold/craft-libs.git
synced 2026-10-31 07:39:23 +00:00
* docking: a dragged native window fades only while a drop target is highlighted The dragged window stays opaque over empty space and goes to 75% only while the bar, only-tab or only-tab-row drag shows a drop preview. paint_group_drag reports whether it highlighted a target; end_cross keeps that for the next frame, since the dragged window sets its opacity before the preview is drawn. * docking: a dragged in-window floating window fades only while a drop target is highlighted The rule for native windows covers in-window floating windows too. A title bar drag draws its window at DRAG_OPACITY (75%) while the drag highlights a drop target, and opaque over empty space and after a drop, Escape or focus loss. finish_group_drag keeps paint_group_drag's result for the next frame, since the window draws before the preview. FloatingFrame takes an opacity for the whole frame, contents included. * docking: a title-bar drag also fades over a preview the host draws