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:
9a72e91
)
JAL-2556 Resolved group update on colouring and escape
author
kiramt
<k.mourao@dundee.ac.uk>
Wed, 16 Aug 2017 10:21:55 +0000
(11:21 +0100)
committer
kiramt
<k.mourao@dundee.ac.uk>
Wed, 16 Aug 2017 10:21:55 +0000
(11:21 +0100)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
abd6325
..
9d11976
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-385,7
+385,6
@@
public class SeqCanvas extends JComponent implements ViewportListenerI
.getClipBounds().height)))
{
Graphics2D g2 = (Graphics2D) lcimg.getGraphics();
.getClipBounds().height)))
{
Graphics2D g2 = (Graphics2D) lcimg.getGraphics();
- g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC));
// overlay selection group on lcimg
if (selectImage != null)
// overlay selection group on lcimg
if (selectImage != null)
@@
-399,12
+398,6
@@
public class SeqCanvas extends JComponent implements ViewportListenerI
fastPaint = false;
return;
}
fastPaint = false;
return;
}
-
- /* lcimg = setupImage(lcimg);
- if (lcimg == null)
- {
- return;
- }*/
if (av.antiAlias)
{
if (av.antiAlias)
{
@@
-426,6
+419,12
@@
public class SeqCanvas extends JComponent implements ViewportListenerI
ranges.getStartSeq(), ranges.getEndSeq(), 0);
}
ranges.getStartSeq(), ranges.getEndSeq(), 0);
}
+ lcimg = new BufferedImage(img.getWidth(), img.getHeight(),
+ img.getType());
+ g2d = lcimg.createGraphics();
+ g2d.drawImage(img, 0, 0, null);
+ g2d.dispose();
+
Graphics2D g2 = (Graphics2D) lcimg.getGraphics();
// overlay selection group on lcimg
Graphics2D g2 = (Graphics2D) lcimg.getGraphics();
// overlay selection group on lcimg