Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Unified Diff: Source/devtools/front_end/ui/TabbedPane.js

Issue 1178003002: DevTools: fix selected tab rendering on non-default zoom levels. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/tabbedPane.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/TabbedPane.js
diff --git a/Source/devtools/front_end/ui/TabbedPane.js b/Source/devtools/front_end/ui/TabbedPane.js
index 96d991a83633d48be70c08c206b480b0684671f1..6e7bbb54db857040e89f59bc9b4084cb9f070024 100644
--- a/Source/devtools/front_end/ui/TabbedPane.js
+++ b/Source/devtools/front_end/ui/TabbedPane.js
@@ -762,7 +762,8 @@ WebInspector.TabbedPane.prototype = {
for (var i = 0; this._currentTab !== this._tabs[i] && this._tabs[i]._shown && i < this._tabs.length; i++)
left += this._tabs[i]._measuredWidth;
var sliderWidth = this._currentTab._shown ? this._currentTab._measuredWidth : this._dropDownButton.offsetWidth;
- this._tabSlider.style.transform = "translateX(" + left + "px) scaleX(" + sliderWidth + ")";
+ this._tabSlider.style.transform = "translateX(" + left + "px)";
+ this._tabSlider.style.width = sliderWidth + "px";
},
/**
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/tabbedPane.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698