stack: Handle scrolling properly
This commit is contained in:
parent
f5f58b0663
commit
73d7f3779f
2 changed files with 181 additions and 40 deletions
|
|
@ -50,11 +50,9 @@ pub struct CosmicWindow(IcedElement<CosmicWindowInternal>);
|
|||
|
||||
impl fmt::Debug for CosmicWindow {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
self.0.with_program(|window| {
|
||||
f.debug_struct("CosmicWindow")
|
||||
.field("internal", window)
|
||||
.finish_non_exhaustive()
|
||||
})
|
||||
f.debug_struct("CosmicWindow")
|
||||
.field("internal", &self.0)
|
||||
.finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue