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

A typo in ViewPainter.getPixelScaleFactor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u20
    • javafx
    • 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

              ant Anton Tarasov (Inactive)
              ant Anton Tarasov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: