UPD: hide the LCL Toolbar in ViewerForm on macOS 11+ again

This commit is contained in:
rich2014 2026-05-17 22:52:49 +08:00
commit 6e5a8a4d21

View file

@ -1487,10 +1487,10 @@ end;
procedure TfrmViewer.showLCLToolBar( newVisibility: Boolean );
begin
{{$IFDEF DARWIN}
{$IFDEF DARWIN}
if self.modernToolBarEnabled then
newVisibility:= False;
{$ENDIF}}
{$ENDIF}
ToolBar1.Visible:= newVisibility;
end;