cleanup and update iced
This commit is contained in:
parent
033dfe6c57
commit
43de9e3e77
3 changed files with 3 additions and 2 deletions
|
|
@ -22,4 +22,5 @@ features = [
|
|||
"surface-message",
|
||||
"multi-window",
|
||||
"wgpu",
|
||||
"wayland",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1561,7 +1561,7 @@ impl<App: Application> Cosmic<App> {
|
|||
let rounded = !self.app.core().window.sharp_corners
|
||||
&& self.app.core().sync_window_border_radii_to_theme();
|
||||
if let Some(cur_rad) =
|
||||
corners(id_wrapper, rounded, &*t, self.app.core().auto_corner_radius)
|
||||
corners(id_wrapper, rounded, &t, self.app.core().auto_corner_radius)
|
||||
{
|
||||
cmds.push(corner_radius::corner_radius(id, Some(cur_rad)).discard());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ pub fn app_popup<App: Application>(
|
|||
/// Used to create a subsurface message from within a widget.
|
||||
#[cfg(all(feature = "wayland", target_os = "linux", feature = "winit"))]
|
||||
#[must_use]
|
||||
pub fn simple_subsurface<Message: 'static, V>(
|
||||
pub fn simple_subsurface<Message: 'static>(
|
||||
settings: impl Fn() -> iced_runtime::platform_specific::wayland::subsurface::SctkSubsurfaceSettings
|
||||
+ Send
|
||||
+ Sync
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue