Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1546 Upgrade from tinymce 3.x to 4.x
  3. RUNTIME-1611

[Editor/Image] Image ratio is not respected due to consecutive rounding

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M5
    • None
    • None
    • None

      Each time the width or height is modified for an image, the corresponding height or width is calculated from the original ratio. This value is rounded to set the number of pixels. After each modification, this ratio is recalculated from the previously rounded value, losing in precision each time.

      When using arrow key, thus modifying the height or width 1 by 1, the ratio is quickly lost due to that rounding.

            glefebvre Grégory Lefebvre (Inactive)
            glefebvre Grégory Lefebvre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: