提交 deef75ba 编写于 作者: S serb

7125657: [macosx] SpreadSheet demo has the broken display when clicking outside of the table.

Reviewed-by: alexp, anthony, art
上级 8db22869
......@@ -39,12 +39,8 @@ final class LWRepaintArea extends RepaintArea {
@Override
protected void updateComponent(final Component comp, final Graphics g) {
if (comp != null) {
final LWComponentPeer peer = (LWComponentPeer) comp.getPeer();
if (peer != null) {
peer.paintPeer(g);
}
super.updateComponent(comp, g);
flushBuffers(peer);
flushBuffers((LWComponentPeer) comp.getPeer());
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册