codemirror-colorpicker
Advanced tools
Comparing version 1.9.42 to 1.9.43
{ | ||
"name": "codemirror-colorpicker", | ||
"version": "1.9.42", | ||
"version": "1.9.43", | ||
"description": "simple colorpicker used anywhere", | ||
@@ -5,0 +5,0 @@ "main": "./dist/codemirror-colorpicker.js", |
@@ -264,3 +264,2 @@ import Dom from '../util/Dom' | ||
clearTimeout(this.timerCloseColorPicker); | ||
console.log(this.delayTime); | ||
this.timerCloseColorPicker = setTimeout(this.hide.bind(this), this.delayTime || this.hideDelay); | ||
@@ -270,8 +269,5 @@ } | ||
} | ||
console.log(e); | ||
console.log(this.checkColorPickerClass(e.target)); | ||
} | ||
'mouseover.isAbsolute $root' (e) { | ||
console.log(this.timerCloseColorPicker) | ||
clearTimeout(this.timerCloseColorPicker); | ||
@@ -282,3 +278,2 @@ // this.__isMouseDown = true; | ||
'mousemove.isAbsolute $root' (e) { | ||
console.log('mousemove') | ||
clearTimeout(this.timerCloseColorPicker) | ||
@@ -288,3 +283,2 @@ } | ||
'mouseenter.isAbsolute $root' (e) { | ||
console.log('enter', this.timerCloseColorPicker) | ||
clearTimeout(this.timerCloseColorPicker); | ||
@@ -295,3 +289,2 @@ this.__isMouseIn = true; | ||
'mouseleave.isAbsolute $root' (e) { | ||
console.log('out', e); | ||
this.__isMouseIn = false; | ||
@@ -298,0 +291,0 @@ if (!this.__isMouseDown) { |
@@ -239,6 +239,6 @@ import Color from '../../util/Color' | ||
hide_delay_color_picker(hideDelay = 0) { | ||
hide_delay_color_picker() { | ||
if (this.colorpicker) | ||
{ | ||
this.colorpicker.runHideDelay(hideDelay); | ||
this.colorpicker.runHideDelay(); | ||
} | ||
@@ -245,0 +245,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2012824
28906