NGRegion optimizations based on Color.TRANSPARENT are ineffective

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: javafx

      Comparing topStroke and others with Color.TRANSPARENT while drawing region borders is ineffective as the two objects are not the same. Either Color.equals() should be used or Color.TRANSPARENT should be enforced in com.sun.javafx.css.ParsedValueImpl when a new Color is created. The bug causes unnecessary transparent rectangle fills.

            Assignee:
            Felipe Heidrich (Inactive)
            Reporter:
            Oleg Mazurov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: