Rename Internal::idle_pane to active_pane
This commit is contained in:
parent
33f33ed4e3
commit
cfc2b55e05
2 changed files with 3 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue