diff options
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 0cb693ba6..3ea01ecb2 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -711,7 +711,9 @@ void Editor::RedrawRect(PRectangle rc) { void Editor::Redraw() { //Platform::DebugPrintf("Redraw all\n"); - wMain.InvalidateAll(); + PRectangle rcClient = GetClientRectangle(); + wMain.InvalidateRectangle(rcClient); + //wMain.InvalidateAll(); } void Editor::RedrawSelMargin() { |