Created
December 31, 2010 02:22
-
-
Save ximus/760633 to your computer and use it in GitHub Desktop.
debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mouseEntered: function(e) { | |
// console.log(e); | |
console.log("ENTER_____"+this.get('layerId')) ; | |
this.setIfChanged('informativeState', YES); | |
var parent = this.get('parentView'); | |
var index = parent.contentIndexForLayerId(this.get('layerId')); | |
console.log("Adding index of "+this.get('layerId')); | |
console.log(" index is: "+index); | |
parent.get('customRowHeightIndexes').add(index); | |
parent.rowHeightDidChangeForIndexes(index); | |
}, | |
mouseExited: function(e) { | |
console.log("EXIT_____"+this.get('layerId')); | |
this.setIfChanged('informativeState', NO); | |
var parent = this.get('parentView'); | |
if (parent) { | |
console.log("Removing index of "+this.get('layerId')); | |
var index = parent.contentIndexForLayerId(this.get('layerId')); | |
console.log(" index is: "+index); | |
parent.get('customRowHeightIndexes').remove(index); | |
parent.rowHeightDidChangeForIndexes(index); | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment