Results 1 to 3 of 3

Thread: Ext.draw.plugin.SpriteEvents passes the wrong sprite parameter to listeners

    You found a bug! We've classified it as EXTJS-19275 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default Ext.draw.plugin.SpriteEvents passes the wrong sprite parameter to listeners

    .. or maybe the documentation isn't clear?

    Doc says: spritemouseover( sprite, event, eOpts )

    My expectation is that "sprite" is a sprite. It is not.

    https://fiddle.sencha.com/#fiddle/tmc

  2. #2
    Sencha User
    Join Date
    Nov 2014
    Posts
    3,120

    Default

    Thanks for the report! I have opened an improvement request in our issue tracker.

  3. #3
    Sencha User
    Join Date
    Nov 2014
    Posts
    3,120

    Default

    Hi--

    Technically the docs are correct in that they indicate that this argument is an object, and not the instance of a sprite. However, I agree that it is a bit confusing so I've filed an improvement request to make the documentation a bit more clear.

    Thanks!
    Joel

Similar Threads

  1. Replies: 1
    Last Post: 15 Jun 2015, 6:05 PM
  2. Spriteevents plugin missing
    By faireu in forum Sencha Architect 3.x: Bugs
    Replies: 0
    Last Post: 6 Feb 2015, 4:59 AM
  3. Multiple draw.Sprite on draw.Component
    By JeremyC in forum Ext: Discussion
    Replies: 2
    Last Post: 18 Oct 2012, 10:54 PM
  4. Removing Ext.draw.Sprite from Ext.draw.Component dynamically
    By qbert65536 in forum Ext: Discussion
    Replies: 2
    Last Post: 16 Nov 2011, 10:50 AM
  5. Replies: 1
    Last Post: 16 Jun 2011, 12:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •