Browse Source

Tries to address poor minimap vertical tracking

main
Eric Amodio 1 year ago
parent
commit
09c466d188
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/webviews/apps/plus/graph/minimap/minimap.ts

+ 5
- 4
src/webviews/apps/plus/graph/minimap/minimap.ts View File

@ -730,10 +730,10 @@ export class GraphMinimap extends FASTElement {
// // },
// },
},
bar: {
zerobased: false,
width: { max: 3 },
},
// bar: {
// zerobased: false,
// width: { max: 3 },
// },
clipPath: false,
grid: {
front: false,
@ -851,6 +851,7 @@ export class GraphMinimap extends FASTElement {
}
</div>`;
},
grouped: true,
position: (_data, width, _height, element, pos) => {
const { x } = pos;
const rect = (element as HTMLElement).getBoundingClientRect();

Loading…
Cancel
Save