Skip to content

Commit 04c4910

Browse files
committed
Bug #88 Fixing hue updating when moving in grid on rgb and hex
1 parent 2c90872 commit 04c4910

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/scripts/controller.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ export default class AngularColorPickerController {
8484
}
8585

8686
watchNgModel(newValue, oldValue) {
87+
if (this.colorMouse) {
88+
return;
89+
}
90+
8791
if (newValue !== undefined && newValue !== null && newValue !== oldValue && newValue.length > 4) {
8892
var color = tinycolor(newValue);
8993

0 commit comments

Comments
 (0)