summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorLibravatar Joao Freitas <51237625+jhff@users.noreply.github.com>2023-05-19 11:24:52 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-07-06 07:55:49 +0200
commite5c9dd54b3f51e913f39b38e8907c321c8bfd040 (patch)
tree69c0dc7aa682bec3f00d91b16fecb4bb38bdc8db /style
parent7f805bc5dd9ed38c904d83f9ea931eed6f3234bf (diff)
downloadiced-e5c9dd54b3f51e913f39b38e8907c321c8bfd040.tar.gz
iced-e5c9dd54b3f51e913f39b38e8907c321c8bfd040.tar.bz2
iced-e5c9dd54b3f51e913f39b38e8907c321c8bfd040.zip
Add ability to drag pane to the pane grid edges & optional style for dragged pane
Diffstat (limited to 'style')
-rw-r--r--style/src/pane_grid.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/pane_grid.rs b/style/src/pane_grid.rs
index b99af955..dfdc9186 100644
--- a/style/src/pane_grid.rs
+++ b/style/src/pane_grid.rs
@@ -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.