Skip to content

Commit 87fdcbe

Browse files
committed
Bumping to v2.6.2
1 parent 8f93a9b commit 87fdcbe

9 files changed

+30
-19
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## v2.6.2
4+
5+
#### Breaking Changes
6+
* None
7+
8+
#### New Features
9+
* None
10+
11+
#### Bug Fixes
12+
* Bug #124 remove some rounding that could interfere when translating between color types
13+
314
## v2.6.1
415

516
#### Breaking Changes

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-color-picker",
33
"description": "Color Picker Directive For AngularJS",
4-
"version": "2.6.1",
4+
"version": "2.6.2",
55
"homepage": "https://github.com/ruhley/angular-color-picker",
66
"repository": {
77
"type": "git",

dist/angularjs-color-picker.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angularjs-color-picker.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*!
2-
* angularjs-color-picker v2.6.1
2+
* angularjs-color-picker v2.6.2
33
* https://github.com/ruhley/angular-color-picker/
44
*
55
* Copyright 2016 ruhley
66
*
7-
* 2016-11-17 07:50:09
7+
* 2016-11-21 08:25:55
88
*
99
*/
1010

@@ -172,14 +172,14 @@ var AngularColorPickerController = function () {
172172

173173
if (this.options.round) {
174174
hsl = color.toHsl();
175-
this.lightness = Math.round(hsl.l * 100);
175+
this.lightness = hsl.l * 100;
176176
} else {
177177
hsl = color.toHsv();
178-
this.lightness = Math.round(hsl.v * 100);
178+
this.lightness = hsl.v * 100;
179179
}
180180

181-
this.hue = Math.round(hsl.h);
182-
this.saturation = Math.round(hsl.s * 100);
181+
this.hue = hsl.h;
182+
this.saturation = hsl.s * 100;
183183

184184
this.updateModel = false;
185185

dist/angularjs-color-picker.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angularjs-color-picker.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/themes/angularjs-color-picker-bootstrap.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*!
2-
* angularjs-color-picker v2.6.1
2+
* angularjs-color-picker v2.6.2
33
* https://github.com/ruhley/angular-color-picker/
44
*
55
* Copyright 2016 ruhley
66
*
7-
* 2016-11-17 07:50:13
7+
* 2016-11-21 08:25:58
88
*
99
*/
1010
.color-picker-wrapper .color-picker-input-wrapper {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*!
2-
* angularjs-color-picker v2.6.1
2+
* angularjs-color-picker v2.6.2
33
* https://github.com/ruhley/angular-color-picker/
44
*
55
* Copyright 2016 ruhley
66
*
7-
* 2016-11-17 07:50:13
7+
* 2016-11-21 08:25:58
88
*
99
*/.color-picker-wrapper .color-picker-input-wrapper{width:100%}.color-picker-wrapper .color-picker-swatch:not(.input-group-addon){height:28px}.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon{border-radius:4px}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angularjs-color-picker",
33
"description": "Color Picker Directive For AngularJS",
4-
"version": "2.6.1",
4+
"version": "2.6.2",
55
"license": "MIT",
66
"main": "dist/angularjs-color-picker.min.js",
77
"dependencies": {

0 commit comments

Comments
 (0)