Fetch last workspace explicitly when starting Zed
co-authored-by: Max <max@zed.dev>
This commit is contained in:
parent
db3119b553
commit
5a29a74956
5 changed files with 53 additions and 35 deletions
|
@ -139,9 +139,7 @@ impl<V: View> DragAndDrop<V> {
|
|||
region_offset,
|
||||
region,
|
||||
}) => {
|
||||
if (dbg!(event.position) - (dbg!(region.origin() + region_offset))).length()
|
||||
> DEAD_ZONE
|
||||
{
|
||||
if (event.position - (region.origin() + region_offset)).length() > DEAD_ZONE {
|
||||
this.currently_dragged = Some(State::Dragging {
|
||||
window_id,
|
||||
region_offset,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue