Skip to content

Commit

Permalink
release 2.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
linx4200 committed Feb 6, 2018
1 parent 56d7406 commit ab057d8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
18 changes: 6 additions & 12 deletions dist/vue-color.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,16 +525,6 @@ function _colorChange(data, oldHue) {
hsv.h = hsl.h = data.h || data.hsl && data.hsl.h || oldHue || 0;
}

if (hsv.v < 0.0164) {
hsv.h = data.h || data.hsv && data.hsv.h || 0;
hsv.s = data.s || data.hsv && data.hsv.s || 0;
}

if (hsl.l < 0.01) {
hsl.h = data.h || data.hsl && data.hsl.h || 0;
hsl.s = data.s || data.hsl && data.hsl.s || 0;
}

return {
hsl: hsl,
hex: color.toHexString().toUpperCase(),
Expand Down Expand Up @@ -947,7 +937,7 @@ var _color2 = _interopRequireDefault(_color);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var VueColor = {
version: '2.4.3',
version: '2.4.4',
Compact: _Compact2.default,
Material: _Material2.default,
Slider: _Slider2.default,
Expand Down Expand Up @@ -4453,7 +4443,11 @@ var render = function() {
ref: "container",
staticClass: "vc-saturation",
style: { background: _vm.bgColor },
on: { mousedown: _vm.handleMouseDown }
on: {
mousedown: _vm.handleMouseDown,
touchmove: _vm.handleChange,
touchstart: _vm.handleChange
}
},
[
_c("div", { staticClass: "vc-saturation--white" }),
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-color.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-color",
"version": "2.4.3",
"version": "2.4.4",
"description": "Color of Vue Components",
"keywords": [
"color",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Saturation from './components/common/Saturation.vue'
import ColorMixin from './mixin/color.js'

const VueColor = {
version: '2.4.3',
version: '2.4.4',
Compact,
Material,
Slider,
Expand Down

0 comments on commit ab057d8

Please sign in to comment.