mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
bug 205186: [regression][mac] SSH Terminal does not paint correctly on OSX
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205186
This commit is contained in:
parent
c52fca1e6e
commit
26abd8a713
1 changed files with 2 additions and 9 deletions
|
@ -138,15 +138,8 @@ public abstract class VirtualCanvas extends Canvas {
|
|||
protected void repaint(Rectangle r) {
|
||||
if(isDisposed())
|
||||
return;
|
||||
if(inClipping(r,fClientArea)) {
|
||||
GC gc=new GC(this);
|
||||
try {
|
||||
gc.setClipping(r);
|
||||
paint(gc);
|
||||
} finally {
|
||||
gc.dispose();
|
||||
}
|
||||
}
|
||||
redraw(r.x, r.y, r.width, r.height, true);
|
||||
update();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue