refactor(segmented button): only clear tab drag after source event cancel or finish
This commit is contained in:
parent
beddbf1770
commit
927035809f
1 changed files with 0 additions and 2 deletions
|
|
@ -1121,7 +1121,6 @@ where
|
|||
shell.publish(msg);
|
||||
}
|
||||
state.drop_hint = None;
|
||||
state.dragging_tab = None;
|
||||
|
||||
self.emit_drop_hint(shell, state.drop_hint);
|
||||
if let Some(event) = pending_reorder {
|
||||
|
|
@ -1136,7 +1135,6 @@ where
|
|||
"data received without entity id={my_id:?}"
|
||||
);
|
||||
state.drop_hint = None;
|
||||
state.dragging_tab = None;
|
||||
|
||||
self.emit_drop_hint(shell, state.drop_hint);
|
||||
if let Some(event) = pending_reorder {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue