Skip to content

Commit 1a7ec6c

Browse files
author
Lanny McNie
committed
Modified hit behaviour to prevent drawing of children without mouse listeners.
Signed-off-by: Lanny McNie <lanny@gskinner.com>
1 parent e3c8cb1 commit 1a7ec6c

File tree

6 files changed

+2005
-1992
lines changed

6 files changed

+2005
-1992
lines changed

docs/easeljs_docs-NEXT.zip

9.34 KB
Binary file not shown.

lib/easeljs-NEXT.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/createjs/events/EventDispatcher.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,11 @@ var p = EventDispatcher.prototype;
342342
* ancestors (parent, parent's parent, etc). A return value of true indicates that if a bubbling event of the
343343
* specified type is dispatched from this object, it will trigger at least one listener.
344344
*
345-
* This is similar to hasEventListener, but it searches the entire event flow for a listener, not just this object.
345+
* This is similar to {{#crossLink "EventDispatcher/hasEventListener"}}{{/crossLink}}, but it searches the entire
346+
* event flow for a listener, not just this object.
346347
* @method willTrigger
347348
* @param {String} type The string type of the event.
348-
* @return {Boolean} Returns true if there is at least one listener for the specified event.
349+
* @return {Boolean} Returns `true` if there is at least one listener for the specified event.
349350
**/
350351
p.willTrigger = function(type) {
351352
var o = this;

0 commit comments

Comments
 (0)