Fix stretch control bug created in D28935
ClosedPublic

Authored by murveit on Apr 22 2020, 7:48 AM.

Details

Summary

When using the stretch controls, bug had image 4X smaller than it should be.

Test Plan

With D28935, when using the custom stretch sliders, the image displayed while using the sliders
was 4X smaller than it should be (just the preview images--once the sliders were released, the image was
rendered fine). To test, load an image, make a custom stretch change (either changing shadows, midtones or highlights)
and the image displayed while changing the sliders should not change in size as it would without this fix.

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
murveit created this revision.Apr 22 2020, 7:48 AM
Restricted Application added a project: KDE Edu. · View Herald TranscriptApr 22 2020, 7:48 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
murveit requested review of this revision.Apr 22 2020, 7:48 AM
murveit updated this revision to Diff 80849.Apr 22 2020, 8:14 AM

Also don't draw overlays for the stretch preview image

mutlaqja accepted this revision.Apr 22 2020, 10:49 AM
This revision is now accepted and ready to land.Apr 22 2020, 10:49 AM
This revision was automatically updated to reflect the committed changes.