diff --git a/frontend/src/components/gantt/GanttRowBars.vue b/frontend/src/components/gantt/GanttRowBars.vue
index 28f3a136b..3fb9bf22b 100644
--- a/frontend/src/components/gantt/GanttRowBars.vue
+++ b/frontend/src/components/gantt/GanttRowBars.vue
@@ -129,12 +129,16 @@
@@ -323,13 +327,13 @@ const getBarTextX = computed(() => (bar: GanttBarModel) => {
const DIAMOND_SIZE = 5
function getLeftDiamondPoints(bar: GanttBarModel): string {
- const x = getBarX.value(bar)
+ const x = getBarX.value(bar) - DIAMOND_SIZE
const cy = 20 // vertical center of the bar
return `${x},${cy} ${x + DIAMOND_SIZE},${cy - DIAMOND_SIZE} ${x + DIAMOND_SIZE * 2},${cy} ${x + DIAMOND_SIZE},${cy + DIAMOND_SIZE}`
}
function getRightDiamondPoints(bar: GanttBarModel): string {
- const x = getBarX.value(bar) + getBarWidth.value(bar)
+ const x = getBarX.value(bar) + getBarWidth.value(bar) + DIAMOND_SIZE
const cy = 20
return `${x - DIAMOND_SIZE * 2},${cy} ${x - DIAMOND_SIZE},${cy - DIAMOND_SIZE} ${x},${cy} ${x - DIAMOND_SIZE},${cy + DIAMOND_SIZE}`
}
@@ -483,14 +487,6 @@ function startResize(bar: GanttBarModel, edge: 'start' | 'end', event: PointerEv
.gantt-parent-bar {
cursor: grab;
pointer-events: all;
-
- &:hover {
- opacity: 0.8;
- }
-
- &:active {
- cursor: grabbing;
- }
}
:deep(.gantt-resize-handle) {