Update to Rust 2024 and fix compiler errors
This commit is contained in:
parent
81ca3d2a22
commit
67e489e382
6 changed files with 13 additions and 13 deletions
|
|
@ -688,10 +688,10 @@ where
|
|||
.iter()
|
||||
.zip(&self.contents)
|
||||
.zip(layout.children())
|
||||
.filter(|((&pane, _content), _layout)| {
|
||||
.filter(|((pane, _content), _layout)| {
|
||||
self.internal
|
||||
.maximized()
|
||||
.map_or(true, |maximized| pane == maximized)
|
||||
.map_or(true, |maximized| **pane == maximized)
|
||||
})
|
||||
.find_map(|((_pane, content), layout)| {
|
||||
content.grid_interaction(
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
use std::ops::RangeInclusive;
|
||||
|
||||
pub use crate::slider::{
|
||||
default, Catalog, Handle, HandleShape, Status, Style, StyleFn,
|
||||
Catalog, Handle, HandleShape, Status, Style, StyleFn, default,
|
||||
};
|
||||
|
||||
use crate::core::border::Border;
|
||||
|
|
@ -393,9 +393,7 @@ where
|
|||
shell.capture_event();
|
||||
}
|
||||
}
|
||||
Event::Keyboard(keyboard::Event::KeyPressed {
|
||||
ref key, ..
|
||||
}) => {
|
||||
Event::Keyboard(keyboard::Event::KeyPressed { key, .. }) => {
|
||||
if cursor.is_over(layout.bounds()) {
|
||||
match key {
|
||||
Key::Named(key::Named::ArrowUp) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue