diff x/static/js/1051.8e1641e2.chunk.js.map @ 125:49f3d3878413 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author fubar
date Sat, 05 Oct 2024 23:58:05 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/x/static/js/1051.8e1641e2.chunk.js.map	Sat Oct 05 23:58:05 2024 +0000
@@ -0,0 +1,1 @@
+{"version":3,"file":"static/js/1051.8e1641e2.chunk.js","mappings":"qMAUA,MA4BA,GA5BgCA,EAAAA,EAAAA,WAAS,UAAU,MACjDC,EAAK,UACLC,EAAS,gBACTC,EAAe,UACfC,IAOA,MAAM,MAAEC,EAAK,MAAEC,EAAK,WAAEC,GAAeN,EACrC,OAAOC,EACLM,EAAAA,cAACC,EAAAA,QAAW,CACVC,UAAWN,EAAY,EAAI,OAAS,QACpCO,YACER,EACI,CAAES,EAAGT,EAAgB,GAAIU,EAAGV,EAAgB,SAC5CW,GAGL,QAAOC,EAAAA,EAAAA,IAAOb,EAAU,GAAIG,KAC7BG,EAAAA,cAAA,WACC,QAAOO,EAAAA,EAAAA,IAAOR,EAAaL,EAAU,GAAII,KAC1CE,EAAAA,cAAA,YAEA,IACN,G","sources":["../../../plugins/dotplot-view/src/DotplotView/components/DotplotTooltipMouseover.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react'\nimport BaseTooltip from '@jbrowse/core/ui/BaseTooltip'\n\n// locals\nimport { DotplotViewModel } from '../model'\nimport { locstr } from './util'\n\ntype Coord = [number, number] | undefined\n\nconst DotplotTooltipMouseover = observer(function ({\n  model,\n  mouserect,\n  mouserectClient,\n  xdistance,\n}: {\n  model: DotplotViewModel\n  mouserect: Coord\n  mouserectClient: Coord\n  xdistance: number\n}) {\n  const { hview, vview, viewHeight } = model\n  return mouserect ? (\n    <BaseTooltip\n      placement={xdistance < 0 ? 'left' : 'right'}\n      clientPoint={\n        mouserectClient\n          ? { x: mouserectClient[0], y: mouserectClient[1] }\n          : undefined\n      }\n    >\n      {`x - ${locstr(mouserect[0], hview)}`}\n      <br />\n      {`y - ${locstr(viewHeight - mouserect[1], vview)}`}\n      <br />\n    </BaseTooltip>\n  ) : null\n})\nexport default DotplotTooltipMouseover\n"],"names":["observer","model","mouserect","mouserectClient","xdistance","hview","vview","viewHeight","React","BaseTooltip","placement","clientPoint","x","y","undefined","locstr"],"sourceRoot":""}
\ No newline at end of file