mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix for bug #342845 when dragging a tab over the "all tabs" button, act as if we are dragging over the "scroll down" button r=mconnor
This commit is contained in:
parent
b87dd3fe80
commit
2d95b44434
@ -1686,7 +1686,9 @@
|
||||
pixelsToScroll = tabStrip.scrollIncrement * -1;
|
||||
tabStrip.scrollByPixels(pixelsToScroll);
|
||||
}
|
||||
else if (targetAnonid == "scrollbutton-down") {
|
||||
else if (targetAnonid == "scrollbutton-down" ||
|
||||
(targetAnonid == "alltabs-button" &&
|
||||
this.mTabContainer.getAttribute("overflow") == "true")) {
|
||||
pixelsToScroll = tabStrip.scrollIncrement;
|
||||
tabStrip.scrollByPixels(pixelsToScroll);
|
||||
}
|
||||
@ -2483,7 +2485,8 @@
|
||||
see bugs #346307 and #346035
|
||||
-->
|
||||
<xul:hbox style="position: relative;">
|
||||
<xul:toolbarbutton class="tabs-alltabs-button" type="menu">
|
||||
<xul:toolbarbutton class="tabs-alltabs-button" type="menu"
|
||||
anonid="alltabs-button">
|
||||
<xul:menupopup class="tabs-alltabs-popup"
|
||||
anonid="alltabs-popup"
|
||||
position="after_end"/>
|
||||
|
@ -78,7 +78,8 @@
|
||||
see bugs #346307 and #346035
|
||||
-->
|
||||
<xul:hbox style="position: relative;">
|
||||
<xul:toolbarbutton class="tabs-alltabs-button" type="menu">
|
||||
<xul:toolbarbutton class="tabs-alltabs-button" type="menu"
|
||||
anonid="alltabs-button">
|
||||
<xul:menupopup class="tabs-alltabs-popup"
|
||||
anonid="alltabs-popup" position="after_end"/>
|
||||
</xul:toolbarbutton>
|
||||
|
Loading…
Reference in New Issue
Block a user