chore: generate
This commit is contained in:
@@ -1069,8 +1069,7 @@ function HomeProjectList(props: HomeProjectListProps) {
|
|||||||
event.pointerType === "touch"
|
event.pointerType === "touch"
|
||||||
? [new PointerActivationConstraints.Delay({ value: 250, tolerance: 5 })]
|
? [new PointerActivationConstraints.Delay({ value: 250, tolerance: 5 })]
|
||||||
: [new PointerActivationConstraints.Distance({ value: 4 })],
|
: [new PointerActivationConstraints.Distance({ value: 4 })],
|
||||||
preventActivation: (event) =>
|
preventActivation: (event) => event.target instanceof Element && !!event.target.closest("[data-action]"),
|
||||||
event.target instanceof Element && !!event.target.closest("[data-action]"),
|
|
||||||
}),
|
}),
|
||||||
]}
|
]}
|
||||||
modifiers={[RestrictToVerticalAxis, RestrictToElement.configure({ element: () => listRef })]}
|
modifiers={[RestrictToVerticalAxis, RestrictToElement.configure({ element: () => listRef })]}
|
||||||
@@ -1118,8 +1117,7 @@ function HomeProjectSlot(
|
|||||||
index={props.index}
|
index={props.index}
|
||||||
serverSelected={props.selected.server === ServerConnection.key(props.server)}
|
serverSelected={props.selected.server === ServerConnection.key(props.server)}
|
||||||
selected={
|
selected={
|
||||||
props.selected.server === ServerConnection.key(props.server) &&
|
props.selected.server === ServerConnection.key(props.server) && props.selected.directory === props.worktree
|
||||||
props.selected.directory === props.worktree
|
|
||||||
}
|
}
|
||||||
unseenCount={props.unseenCount(props.server, item())}
|
unseenCount={props.unseenCount(props.server, item())}
|
||||||
selectProject={props.selectProject}
|
selectProject={props.selectProject}
|
||||||
|
|||||||
Reference in New Issue
Block a user