rotation clip fix

This commit is contained in:
Jorijn van der Graaf 2025-12-21 20:26:20 +01:00
commit e8f7d6e4a2
6 changed files with 23 additions and 74 deletions

View file

@ -116,7 +116,9 @@ void RenderingElementScaling::CopyNearestNeighbour(Pixel_BU8_GU8_RU8_AU8* dst, s
void RenderingElementScaling::UpdatePosition(Window& window) {
ScaleData oldScale = scaled;
std::cout << MappedToFractional(relativeWidth) << std::endl;
window.ScaleElement(*this);
std::cout << scaled.width << std::endl;
if(oldScale.width != scaled.width || oldScale.height != scaled.height) {