Skip to content

Commit 2a1a8e5

Browse files
committed
Updated version number
1 parent 2c74086 commit 2a1a8e5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Due to ColorLib not using any internal or temporal objects during any computatio
115115
### sbt
116116

117117
```
118-
libraryDependencies += "io.github.scalamath" % "colorlib" % "1.0"
118+
libraryDependencies += "io.github.scalamath" % "colorlib" % "1.1"
119119
```
120120

121121
### Maven
@@ -124,14 +124,14 @@ libraryDependencies += "io.github.scalamath" % "colorlib" % "1.0"
124124
<dependency>
125125
<groupId>io.github.scalamath</groupId>
126126
<artifactId>colorlib</artifactId>
127-
<version>1.0</version>
127+
<version>1.1</version>
128128
</dependency>
129129
```
130130

131131
### Gradle
132132

133133
```
134-
implementation 'io.github.scalamath:colorlib:1.0'
134+
implementation 'io.github.scalamath:colorlib:1.1'
135135
```
136136

137137
## Questions and answers

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Project info
22
name := "ColorLib"
33
homepage := Some(url("https://github.com/ScalaMath/ColorLib"))
4-
version := "1.0"
4+
version := "1.1"
55
description := "A Scala library for color math"
66
// Organization info
77
organization := "io.github.scalamath"

src/main/scala/io/github/scalamath/colorlib/Gradient.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class Gradient private(private val points: TreeMap[Float, Color]) {
8686
* Returns the interpolated color specified by the given offset.
8787
* Colors are interpolated linearly.
8888
*
89-
* Returns black if this gradient is empty.
89+
* Returns black if this gradient does not have any points.
9090
*
9191
* Returns the first color in the gradient if the given offset is lower than the offset of the first point.
9292
* Returns the last color in the gradient if the given offset is higher than the offset of the last point.

0 commit comments

Comments
 (0)