Fix scaling of file layers with transparent background
For upscaling/downscaling the image we should use its physical size saved in the original file, not just the bounding rect calculated with exactBounds(). This patch may change the look of existing .kra files, but we can consider this case inexistent, because the offset of transparent file layers has always been calculated incorrectly. I don't think anyone could use the feature for transparent layers because of that. BUG:396131 CC:kimageshop@kde.org
Loading
Please register or sign in to comment