From 872226d9e6ea7f422ca66e8dfecc9ac102eb847c Mon Sep 17 00:00:00 2001 From: Albert Cardona Date: Sun, 12 Apr 2009 23:56:57 +0200 Subject: [PATCH] Oops forgot to paint the rest of non-Patch on top of colored overlay. --- ini/trakem2/display/DisplayCanvas.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ini/trakem2/display/DisplayCanvas.java b/ini/trakem2/display/DisplayCanvas.java index be31bc93..b94a776e 100644 --- a/ini/trakem2/display/DisplayCanvas.java +++ b/ini/trakem2/display/DisplayCanvas.java @@ -2250,6 +2250,11 @@ public final class DisplayCanvas extends ImageCanvas implements KeyListener/*, F img.flush(); // reset g.setTransform(atc); + + // then paint the non-Patch objects of the current layer + for (final Displayable d : al_paint.subList(al_patches.size(), al_paint.size())) { + d.paint(g, magnification, d == active, c_alphas, layer); + } } // finally, paint non-srcRect areas -- 2.11.4.GIT