フルズームを使用したページでタブバーの背景がずれる問題を修正(regression)
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5582 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
87711786fb
commit
31d6a1dd96
@ -707,7 +707,13 @@ TreeStyleTabBrowserAutoHide.prototype = {
|
||||
|
||||
getZoomForFrame : function(aFrame)
|
||||
{
|
||||
var zoom = this.rootContentViewer.fullZoom;
|
||||
var zoom = aFrame
|
||||
.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
|
||||
.getInterface(Components.interfaces.nsIWebNavigation)
|
||||
.QueryInterface(Components.interfaces.nsIDocShell)
|
||||
.contentViewer
|
||||
.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer)
|
||||
.fullZoom;
|
||||
return (zoom * 1000 % 1) ? zoom+0.025 : zoom ;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user