Skip to content

Commit

Permalink
Slight mod
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jan 7, 2024
1 parent 0c8bff4 commit a37186d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/src/components/ImportForm/ImportFormExamples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const ImportFormExamples = observer(function ({
model={model}
onClick={() =>
load(model, {
uri: 'https://ihh.github.io/abrowse/build/pfam-cov2.stock',
uri: 'https://jbrowse.org/genomes/multiple_sequence_alignments/pfam-cov2.stock',
locationType: 'UriLocation',
})
}
Expand Down
8 changes: 4 additions & 4 deletions lib/src/components/Minimap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { MsaViewModel } from '../model'
const Minimap = observer(function ({ model }: { model: MsaViewModel }) {
const { scrollX, msaAreaWidth: W, colWidth, numColumns } = model
const unit = W / numColumns
const start = -scrollX / colWidth
const end = -scrollX / colWidth + W / colWidth
const s = start * unit
const e = end * unit
const left = -scrollX
const right = left + W
const s = (left / colWidth) * unit
const e = (right / colWidth) * unit
const HEIGHT = 56
const TOP = 10
const fill = 'rgba(66, 119, 127, 0.3)'
Expand Down

0 comments on commit a37186d

Please sign in to comment.