refactor: use cctk
This commit is contained in:
parent
1b8a399ebd
commit
6e91eabf4c
46 changed files with 224 additions and 183 deletions
|
|
@ -22,7 +22,7 @@ serde = { version = "1.0", features = ["derive"] }
|
|||
serde_json = "1.0"
|
||||
iced_core.workspace = true
|
||||
once_cell = "1.15"
|
||||
sctk.workspace = true
|
||||
cctk.workspace = true
|
||||
log = "0.4.17"
|
||||
env_logger = "0.10.0"
|
||||
async-std = "1.0"
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ impl Todos {
|
|||
get_layer_surface(iced::platform_specific::runtime::wayland::layer_surface::SctkLayerSurfaceSettings {
|
||||
size: Some((None, Some(500))),
|
||||
pointer_interactivity: true,
|
||||
keyboard_interactivity: sctk::shell::wlr_layer::KeyboardInteractivity::OnDemand,
|
||||
keyboard_interactivity: cctk::sctk::shell::wlr_layer::KeyboardInteractivity::OnDemand,
|
||||
anchor: Anchor::LEFT.union(Anchor::RIGHT).union(Anchor::TOP),
|
||||
..Default::default()
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue