Skip to content

Commit 4521d6e

Browse files
committed
fix(example): sctk_drag id
1 parent ed5c70b commit 4521d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sctk_drag/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ impl Application for DndTest {
160160
.map(|t| t.to_string())
161161
.collect(),
162162
DndAction::Move,
163-
window::Id::unique(),
163+
window::Id::MAIN,
164164
Some(DndIcon::Custom(iced::window::Id::unique())),
165165
Box::new(MyDndString(
166166
self.current_text.chars().rev().collect::<String>(),

0 commit comments

Comments
 (0)