Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-866

Problem on function _setColor of library aui-scheduler-base

    Details

      Description

      On line 647 of file aui-scheduler-base.js, the function _setColor converts the parameter to an HSL array and does not convert back to string. The solution is to convert in string using the fromArray before calling the Color.toRGB(hsl).

      _setColor: function(val)

      { var instance = this; var hsl = Color.toArray(Color.toHSL(val)); hsl[1] *= instance.get(COLOR_SATURATION_FACTOR); hsl[2] *= instance.get(COLOR_BRIGHTNESS_FACTOR); >>>>>>>>>>>>>>> hsl = Color.fromArray(hsl,"hsl"); instance[BORDER_COLOR_RGB] = Color.toRGB(hsl); return val; }

      ,

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 1 week, 5 days ago

                Packages

                Version Package