|
@@ -175,9 +175,14 @@ Grid.mixin({
|
|
|
// Attaches event-element-related handlers to the container element and leverage bubbling
|
|
// Attaches event-element-related handlers to the container element and leverage bubbling
|
|
|
bindSegHandlers: function() {
|
|
bindSegHandlers: function() {
|
|
|
this.bindSegHandler('click', this.handleSegClick);
|
|
this.bindSegHandler('click', this.handleSegClick);
|
|
|
- this.bindSegHandler('mouseenter', this.handleSegMouseover);
|
|
|
|
|
- this.bindSegHandler('mouseleave', this.handleSegMouseout);
|
|
|
|
|
- this.bindSegHandler('mousedown', this.handleSegMousedown);
|
|
|
|
|
|
|
+
|
|
|
|
|
+ if (!FC.isSimulatingTouch) {
|
|
|
|
|
+ this.bindSegHandler('mouseenter', this.handleSegMouseover);
|
|
|
|
|
+ this.bindSegHandler('mouseleave', this.handleSegMouseout);
|
|
|
|
|
+ this.bindSegHandler('mousedown', this.handleSegMousedown);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ this.bindSegHandler(FC.touchstart, this.handleSegTouchStart);
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
@@ -234,6 +239,10 @@ Grid.mixin({
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ handleSegTouchStart: function(seg, ev) {
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
/* Event Dragging
|
|
/* Event Dragging
|
|
|
------------------------------------------------------------------------------------------------------------------*/
|
|
------------------------------------------------------------------------------------------------------------------*/
|
|
|
|
|
|