mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 964149 - Tighten up bend/unbend event handling in richgrid. r=rsilveira
This commit is contained in:
parent
892e2bd873
commit
c46f9a3b97
@ -808,7 +808,7 @@
|
||||
<body><![CDATA[
|
||||
// apply the transform to the contentBox element of the item
|
||||
let bendNode = this.isItem(aItem) ? aItem._contentBox : null;
|
||||
if (!bendNode)
|
||||
if (!bendNode || aItem.hasAttribute("bending"))
|
||||
return;
|
||||
|
||||
let event = aEvent;
|
||||
@ -872,6 +872,7 @@
|
||||
<handler event="mouseup" button="0" action="this.unbendItem(event.target)"/>
|
||||
<handler event="mouseout" button="0" action="this.unbendItem(event.target)"/>
|
||||
<handler event="touchend" action="this.unbendItem(event.target)"/>
|
||||
<handler event="touchcancel" action="this.unbendItem(event.target)"/>
|
||||
<!-- /item bend effect handler -->
|
||||
|
||||
<handler event="context-action">
|
||||
|
Loading…
Reference in New Issue
Block a user