git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43141b2
)
JAL-1858 don't fastpaint highlights if wrapped format
bug/JAL-1858fastPaintHighlights
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Sat, 24 Jun 2017 08:16:34 +0000
(09:16 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Sat, 24 Jun 2017 08:16:34 +0000
(09:16 +0100)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
52e5849
..
858b8c8
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-996,6
+996,17
@@
public class SeqCanvas extends JComponent implements ViewportListenerI
public void highlightSearchResults(SearchResultsI results)
{
updateViewport();
+
+ /*
+ * for now, don't attempt fastpaint if wrapped format
+ */
+ if (av.getWrapAlignment())
+ {
+ av.setSearchResults(results);
+ repaint();
+ return;
+ }
+
fastpainting = true;
fastPaint = true;