mirror of
https://github.com/poanse/obsidian-taskmap.git
synced 2026-07-22 06:05:58 +00:00
fixed incorrect border width when hovering over an icon inside a task
This commit is contained in:
parent
2b457261f9
commit
33546c6c74
1 changed files with 3 additions and 2 deletions
|
|
@ -121,11 +121,14 @@
|
|||
<div
|
||||
class="task-container"
|
||||
bind:this={self}
|
||||
role="presentation"
|
||||
style="
|
||||
top: {coords.y}px;
|
||||
left: {coords.x}px;
|
||||
pointer-events={context.taskDraggingManager.isDragging ? 'none' : 'auto'}
|
||||
"
|
||||
onpointerenter={() => isHovered = true}
|
||||
onpointerleave={() => isHovered = false}
|
||||
>
|
||||
<div
|
||||
class={`task ${classStringFromStatusCode(taskData.status)}`}
|
||||
|
|
@ -138,8 +141,6 @@
|
|||
}
|
||||
class:unselect={isUnselected}
|
||||
class:blocker-highlight={isBlockerHighlight}
|
||||
onmouseenter={() => isHovered = true}
|
||||
onmouseleave={() => isHovered = false}
|
||||
onpointerdown={(e: PointerEvent) => {
|
||||
if (context.editingTaskId === NoTaskId) {
|
||||
context.startTaskDragging(e, taskId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue