Skip to content
  • Agata Cacko's avatar
    Fix the conversion errors in Scale to New Size dialog · 03db6907
    Agata Cacko authored and Wolthera van Hövell's avatar Wolthera van Hövell committed
    Summary:
    SpinBoxUnitManager used a function that not only converts units,
    but also rounds them (for the View), hence the conversion errors.
    This patch changes function to the precise one.
    
    BUG:400177
    
    Test Plan:
    Checking the Scale to New Size dialog to see whether the bug doesn't reproduce.
    Checking whether it doesn't break other scale/resize/offset/crop dialogs and every other place
    where the units are being used.
    
    Reviewers: #krita, rempt
    
    Reviewed By: #krita, rempt
    
    Tags: #krita
    
    Differential Revision: https://phabricator.kde.org/D19448
    03db6907