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 The correct solution is to Control.redraw(...) the rectangle and to Control.update() to display the results....
This commit is contained in:
parent
26abd8a713
commit
bf10b89b78
1 changed files with 4 additions and 2 deletions
|
@ -138,8 +138,10 @@ public abstract class VirtualCanvas extends Canvas {
|
|||
protected void repaint(Rectangle r) {
|
||||
if(isDisposed())
|
||||
return;
|
||||
redraw(r.x, r.y, r.width, r.height, true);
|
||||
update();
|
||||
if(inClipping(r,fClientArea)) {
|
||||
redraw(r.x, r.y, r.width, r.height, true);
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue