Skip to content

Commit 43c882a

Browse files
committed
2 parents 3885d2e + 16346d5 commit 43c882a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2-
bower_components
2+
bower_components
3+
.idea

src/scripts/controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ export default class AngularColorPickerController {
278278
if (!this.colorMouse && !this.hueMouse && !this.opacityMouse && this.find(event.target).length === 0) {
279279
this.setupApi(); // TODO - there are some weird times when this is needed to call close. Need to figure out why.
280280
this.api.close(event);
281+
this.$scope.$apply();
281282
// mouse event on color grid
282283
} else if (this.colorMouse) {
283284
this.colorUp(event);

0 commit comments

Comments
 (0)