mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 21:15:23 +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
5869dca969
commit
df7c2da4d3
1 changed files with 2 additions and 9 deletions
|
@ -138,15 +138,8 @@ public abstract class VirtualCanvas extends Canvas {
|
||||||
protected void repaint(Rectangle r) {
|
protected void repaint(Rectangle r) {
|
||||||
if(isDisposed())
|
if(isDisposed())
|
||||||
return;
|
return;
|
||||||
if(inClipping(r,fClientArea)) {
|
redraw(r.x, r.y, r.width, r.height, true);
|
||||||
GC gc=new GC(this);
|
update();
|
||||||
try {
|
|
||||||
gc.setClipping(r);
|
|
||||||
paint(gc);
|
|
||||||
} finally {
|
|
||||||
gc.dispose();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue