Closed mksjgj closed 3 years ago
a better way:
if OverlayImageVisible then begin if ChromeTabs.GetImagesOverlay.Width > ImageWidth then ImageWidth := ChromeTabs.GetImagesOverlay.Width;
if ChromeTabs.GetImagesOverlay.Height > ImageHeight then ImageHeight := ChromeTabs.GetImagesOverlay.Height;
end;
if OverlayImageVisible then begin if ChromeTabs.GetImagesOverlay.Width > ChromeTabs.GetImagesOverlay.Width then ImageWidth := ChromeTabs.GetImagesOverlay.Width;
end;
i think it should be:
if OverlayImageVisible then begin if ChromeTabs.GetImagesOverlay.Width > ChromeTabs.GetImages.Width then ImageWidth := ChromeTabs.GetImagesOverlay.Width;
end;