Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8087601

VirtualFlow: adjustPixel(double delta) is not accurate

    Details

    • Type: Bug
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 7u6
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      The method VirtualFlow.adjustPixel(double delta) is not accurate when called repeatedly.

      If adjustPixel(200) is called once VirtualFlow will adjust the pixels by 200px to the right. This behavior is correct.

      Whereas if I have the following sequence of adjustPixel VirtualFlow does not adjust the pixel by 200px after the sequence is complete.
      adjustPixel(49.5)
      adjustPixel(49.5)
      adjustPixel(50)
      adjustPixel(51)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kwwong Kinsley Wong
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: