cosmic-screencopy-v2

This commit is contained in:
Ian Douglas Scott 2024-03-18 17:57:18 -07:00
parent b554dc3177
commit 094c28e105
6 changed files with 511 additions and 321 deletions

View file

@ -55,13 +55,13 @@ pub(crate) fn layer_surface<'a>(
layout,
);
let container = match layout {
WorkspaceLayout::Vertical => widget::cosmic_container::container(
WorkspaceLayout::Vertical => widget::layer_container(
row![sidebar, toplevels]
.spacing(12)
.height(iced::Length::Fill)
.width(iced::Length::Fill),
),
WorkspaceLayout::Horizontal => widget::cosmic_container::container(
WorkspaceLayout::Horizontal => widget::layer_container(
column![sidebar, toplevels]
.spacing(12)
.height(iced::Length::Fill)