Dnd (#103)
* wip: drag offers * wip: dnd * wip: dnd * feat: hover indicators * feat: change directory on hover * fix: dnd drop filtering and drop kind * fix: mouse area selection rectangle * fix: better drag rectangle and dnd drag interaction * feat: nav and tab dnd * cleanup: remove extra patch * cleanup: delete leftover dnd widgets * chore: update libcosmic * fix: list view spacer height overflow
This commit is contained in:
parent
fb47fc72c9
commit
926a16ce2e
7 changed files with 1229 additions and 251 deletions
|
|
@ -615,6 +615,9 @@ impl Application for App {
|
|||
commands
|
||||
.push(Command::batch([self.update_watcher(), self.rescan_tab()]));
|
||||
}
|
||||
tab::Command::DropFiles(_, _) => {
|
||||
log::warn!("DropFiles not supported in dialog");
|
||||
}
|
||||
tab::Command::FocusButton(id) => {
|
||||
commands.push(widget::button::focus(id));
|
||||
}
|
||||
|
|
@ -631,6 +634,9 @@ impl Application for App {
|
|||
tab::Command::Scroll(id, offset) => {
|
||||
commands.push(scrollable::scroll_to(id, offset));
|
||||
}
|
||||
tab::Command::Timeout(_, _) => {
|
||||
log::warn!("Timeout not supported in dialog");
|
||||
}
|
||||
}
|
||||
}
|
||||
return Command::batch(commands);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue