Index: Source/devtools/front_end/elements/Spectrum.js |
diff --git a/Source/devtools/front_end/elements/Spectrum.js b/Source/devtools/front_end/elements/Spectrum.js |
index 0706e849ae3c31fc247a8a3aaba4e9468eaa47d8..37126258d6e6ef0435842be37885c61efeb049ff 100644 |
--- a/Source/devtools/front_end/elements/Spectrum.js |
+++ b/Source/devtools/front_end/elements/Spectrum.js |
@@ -229,7 +229,9 @@ WebInspector.Spectrum.prototype = { |
element.style.background = String.sprintf("linear-gradient(%s, %s), url(Images/checker.png)", colorText, colorText); |
if (animationDelay) |
element.animate([{ opacity: 0 }, { opacity: 1 }], { duration: 100, delay: animationDelay, fill: "backwards" }); |
- element.title = colorText; |
+ var tooltipOptions = {}; |
+ tooltipOptions[WebInspector.Tooltip.Options.VerticalAlignmentTop] = WebInspector.Tooltip.Options.VerticalAlignmentTop; |
+ WebInspector.Tooltip.install(element, colorText, "", tooltipOptions); |
return element; |
}, |