You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-12-23 21:51:09 +02:00
Refactor BufferPanel: call OnPaint, after painting / allow apps to paint in browser
This commit is contained in:
@@ -641,6 +641,8 @@ begin
|
||||
Canvas.Brush.Style := bsSolid;
|
||||
Canvas.FillRect(rect(0, 0, Width, Height));
|
||||
end;
|
||||
|
||||
if Assigned(OnPaint) then OnPaint(Self);
|
||||
end;
|
||||
|
||||
{$IFDEF MSWINDOWS}
|
||||
|
||||
Reference in New Issue
Block a user