sproutcore / rich-text-editor

A rich text editor for SproutCore.
Other
6 stars 6 forks source link

Fixed an issue where the cached mouse down event gets cleared unintentionally due to SC.Event change #27

Closed jameschao closed 9 years ago

jameschao commented 9 years ago

SC.Event got changed so that each event type only caches one object, per https://github.com/sproutcore/sproutcore/commit/36b18d31bb378ee5211f124f176b2a19c9629a63#diff-4ac32a78649ca5bdd8e0ba38b7006a1e.

So, in the editor we need to make a copy of the mouseDown event as we need it later, and we don't want to get cleared accidentally.

nicolasbadia commented 9 years ago

Thanks.