зеркало из https://github.com/mozilla/gecko-dev.git
Fixed problems when dragging off a table during table selection. r=mjudge
This commit is contained in:
Родитель
3a3bf85501
Коммит
429e85acb0
|
@ -1412,7 +1412,12 @@ nsRangeList::HandleClick(nsIContent *aNewFocus, PRUint32 aContentOffset,
|
|||
{
|
||||
InvalidateDesiredX();
|
||||
mHint = HINT(aHint);
|
||||
return TakeFocus(aNewFocus, aContentOffset, aContentEndOffset, aContinueSelection, aMultipleSelection);
|
||||
|
||||
// Don't take focus when dragging off of a table
|
||||
if (!mSelectingTableCells)
|
||||
return TakeFocus(aNewFocus, aContentOffset, aContentEndOffset, aContinueSelection, aMultipleSelection);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче