Tokay Posted February 11, 2022 Share Posted February 11, 2022 Actually TUniCanvas has a bug. When change it size on the front, back shadow images does not changed and therefor TUniCanvas works wrong. This is fix for an issue, please add it to the sources: if (not IsLoading) and ((pw <> Width) or (ph <> Height)) then begin SetDomStyleProperty('clip', GetClipStr ); JSCall('setWH', [Width, Height]); // FPngImage.SetSize(AWidth, AHeight); FBitmap.SetSize(AWidth, AHeight); // end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.