Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-4029

Progress width calculation doesn't include container's padding

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.3
    • 1.3.1
    • Progress
    • None

    Description

      line 77:
      return Math.round((Math.min(percent, 100) * that.progressBar.width()) / 100);

      should be
      return Math.round((Math.min(percent, 100) * that.progressBar.innerWidth()) / 100);

      So that any padding in the container that progress bar is filling is included in its width calculation.

      Attachments

        1. progress_4029.patch
          0.7 kB
          heidi valles

        Issue Links

          Activity

            People

              heidi heidi valles
              heidi heidi valles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: