mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 05:25:21 +02:00
bug 205186: [regression][mac] SSH Terminal does not paint correctly on OSX
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205186 The correct solution is to Control.redraw(...) the rectangle and to Control.update() to display the results....
This commit is contained in:
parent
df7c2da4d3
commit
6277f9c068
1 changed files with 4 additions and 2 deletions
|
@ -138,8 +138,10 @@ public abstract class VirtualCanvas extends Canvas {
|
||||||
protected void repaint(Rectangle r) {
|
protected void repaint(Rectangle r) {
|
||||||
if(isDisposed())
|
if(isDisposed())
|
||||||
return;
|
return;
|
||||||
redraw(r.x, r.y, r.width, r.height, true);
|
if(inClipping(r,fClientArea)) {
|
||||||
update();
|
redraw(r.x, r.y, r.width, r.height, true);
|
||||||
|
update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue