Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
In Image constructor, requestedWidth is passed instead of requestedHeight #267
I noticed that the parameter of three Image constructors may be incorrect.
please check scalafx/scene/image/Image.scala: near line 51, 67 and 73
def this(inputStream: InputStream, requestedWidth: Double, requestedHeight: Double, preserveRatio: Boolean, smooth: Boolean) = this(new jfxsi.Image(inputStream, requestedWidth, requestedWidth, preserveRatio, smooth)) ...
In these constructors, requestedWidth is passed instead of requestedHeight as the third argument.