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

A typo in ViewPainter.getPixelScaleFactor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None

      Description

      By Jim Graham:

      <<I just noticed what looks like a typo in the change for ViewPainter. It replaced code that used to do "if presentable == null scale = 1.0f" with a method that uses "0.1f" instead. Was that supposed to be 1.0f, but the digits got reversed?>>

      The fix that brought the typo is of RT-31807.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ant Anton Tarasov
              Reporter:
              ant Anton Tarasov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: