Rename Internal::idle_pane to active_pane

This commit is contained in:
Héctor Ramón Jiménez 2020-03-20 11:54:42 +01:00
parent 33f33ed4e3
commit cfc2b55e05
2 changed files with 3 additions and 6 deletions

View file

@ -533,7 +533,7 @@ where
if let Some(on_key_press) = &self.on_key_press {
// TODO: Discard when event is captured
if state == ButtonState::Pressed {
if let Some(_) = self.state.idle_pane() {
if let Some(_) = self.state.active_pane() {
if modifiers.matches(self.modifier_keys) {
if let Some(message) =
on_key_press(KeyPressEvent {