Add ability to drag pane to the pane grid edges & optional style for dragged pane

This commit is contained in:
Joao Freitas 2023-05-19 11:24:52 +01:00 committed by Héctor Ramón Jiménez
parent 7f805bc5dd
commit e5c9dd54b3
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
5 changed files with 293 additions and 106 deletions

View file

@ -31,7 +31,7 @@ pub trait StyleSheet {
/// The supported style of the [`StyleSheet`].
type Style: Default;
/// The [`Region`] to draw when a pane is hovered.
/// The [`Appearance`] to draw when a pane is hovered.
fn hovered_region(&self, style: &Self::Style) -> Appearance;
/// The [`Line`] to draw when a split is picked.