Skip to content

Commit 63b3640

Browse files
committed
up
1 parent a427d98 commit 63b3640

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

BioRadarv3/src/script/graphic/ven.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,11 @@ function draw_venn(sets_venn) {
242242
selection.select("path")
243243
.style("fill-opacity", d.sets.length === 1 ? .25 : .0)
244244
.style("stroke-opacity", d.sets[0] === keyGenes_rename && d.sets.length===1 ? 1:0);
245+
selection.select("path.selected").style("stroke-opacity",1);
245246
})
246-
.on("click", (d) => {
247-
247+
.on("click", function(d) {
248+
_cur_venn_div.selectAll("g path.selected").classed('selected',false).style('stroke',null)
249+
d3.select(this).select('path').classed('selected',true).style('stroke','#a0a0a0')
248250
// trivial code.
249251
if (d.sets[0]==="ALL"&&d.sets.length===1) {
250252
console.log("it's the current Data => return, nothing change!");

BioRadarv3/src/script/timeSpaceModel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ d3.TimeSpace = function () {
13051305
isdrawradar = false;
13061306
if (intersects.length){
13071307
if (intersects.length < graphicopt.tableLimit) {
1308-
isdrawradar = true;
1308+
isdrawradar = false;
13091309
linesGroup.visible = true;
13101310
controll_metrics.old = {x:controll_metrics.x,y:controll_metrics.y,zoom:controll_metrics.zoom,scale:controll_metrics.scale||1};
13111311
d3.select('#modelWorkerScreen_svg_g').attr('transform',`scale(1) translate(0,0)`);

0 commit comments

Comments
 (0)