Skip to content

Commit

Permalink
better highlight color
Browse files Browse the repository at this point in the history
  • Loading branch information
kukas committed Dec 4, 2023
1 parent ff60870 commit 8f3f34d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='word-alignment-visualization',
version='0.1.2',
version='0.1.3',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
packages=find_packages(),
Expand Down
4 changes: 2 additions & 2 deletions word_alignment_visualization/static/word_alignment_viz.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function show_word_alignments(element, originalSentence, translationSentence, al

// Add event listeners for hover effect
const handleMouseover = () => {
originalWordBox.style.backgroundColor = "#f0f0f0";
translationWordBox.style.backgroundColor = "#f0f0f0";
originalWordBox.style.backgroundColor = "#fff45c";
translationWordBox.style.backgroundColor = "#fff45c";
line.setAttribute("stroke", "#ff0000");
};

Expand Down

0 comments on commit 8f3f34d

Please sign in to comment.