Diffusion Krita 43af218ebc0b

Add support for fractions with 2 decimals numbers to the FloatColorInput

Authored by jasperh on Aug 15 2019, 8:25 PM.

Description

Add support for fractions with 2 decimals numbers to the FloatColorInput

Fractions which resulted in doubles with 2 decimal numbers or less,
could not be converted. The fraction would only be converted if the
rounded value differs from the full fraction, which is not the case if
they are the same.

This check is not needed anymore, since the slider won't trigger the
input field anymore. Which would result in the early convertion.

Details

Committed
dkazakovSep 13 2019, 10:00 AM
Parents
R37:92b37d03c08f: Stop too early converting of fractions of the FloatColorInput
Branches
Unknown
Tags
Unknown