Implement hash_layout for pane_grid::TitleBar

This commit is contained in:
Héctor Ramón Jiménez 2020-08-19 01:59:31 +02:00
parent 2a46ed8753
commit bbc6e91429
2 changed files with 15 additions and 1 deletions

View file

@ -183,6 +183,10 @@ where
}
pub(crate) fn hash_layout(&self, state: &mut Hasher) {
if let Some(title_bar) = &self.title_bar {
title_bar.hash_layout(state);
}
self.body.hash_layout(state);
}