Skip to content

Commit

Permalink
Merge pull request #36 from shwilks/master
Browse files Browse the repository at this point in the history
Fix bug relating to viewing sequences in the viewer
  • Loading branch information
shwilks authored Dec 6, 2020
2 parents 1388522 + ff084de commit d22a83b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Racmacs
Type: Package
Title: Interface R with acmacs
Version: 1.0.16
Version: 1.0.17
Date: 2019-06-10
Author: Sam Wilks
Maintainer: Sam Wilks <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions inst/htmlwidgets/RacViewer/lib/functions/sequences.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ Racmacs.SequenceTable = class SequenceTable {
this.div.appendChild(this.tablediv);

// Add mouse event listeners to table
var noneSelected_deselected_opacity = viewer.graphics.noneSelected.deselected.opacity;
var plusSelected_deselected_opacity = viewer.graphics.plusSelected.deselected.opacity;
var noneSelected_deselected_opacity = this.viewer.styleset.selections.unhovered.unselected.opacity;
var plusSelected_deselected_opacity = this.viewer.styleset.noselections.unhovered.unselected.opacity;

this.tablediv.addEventListener("mouseenter", function(){
viewer.graphics.noneSelected.deselected.opacity = plusSelected_deselected_opacity;
Expand Down

0 comments on commit d22a83b

Please sign in to comment.