Skip to content
Commit eb8cbdc7 authored by Mathias Wein's avatar Mathias Wein
Browse files

Fix imprecise dimensions when using image size dialog

Due to the way multiple units are handled, the result can be a tiny bit
smaller then the true value of e.g. 50% of 2816 px, despite qreal precision.
Furthermore, the spinbox will round to nearest integer when you
switch back to pixels, so the final value should consistently be rounded
instead of truncated for non-pixel input units.

BUG:442124
(cherry picked from commit b058b377)
parent 92c6cb65
Loading
Loading
Loading
Pipeline #79518 skipped with stage
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment