dragging operation on the grippy in the tab bar splitter wrongly resized only the placeholder, so the splitter could be placed behind tabs and the tab bar couldn't be resized anymore.

This commit is contained in:
SHIMODA Hiroshi 2011-02-14 11:06:59 +09:00
parent 93ab502fcf
commit e582e0c224

View File

@ -1115,10 +1115,9 @@ var TreeStyleTabService = {
onTabbarResizeStart : function TSTService_onTabbarResizeStart(aEvent) onTabbarResizeStart : function TSTService_onTabbarResizeStart(aEvent)
{ {
if (this.isEventFiredOnGrippy(aEvent)) if (!this.isEventFiredOnGrippy(aEvent))
return;
aEvent.stopPropagation(); aEvent.stopPropagation();
if ('setCapture' in aEvent.currentTarget) if ('setCapture' in aEvent.currentTarget)
aEvent.currentTarget.setCapture(true); aEvent.currentTarget.setCapture(true);