From e5caf23e91bbece1e48da6ba85d0607cd21f73b9 Mon Sep 17 00:00:00 2001 From: Blake Winton Date: Sat, 15 Mar 2014 18:29:38 -0700 Subject: [PATCH] Bug 983653 - UITour: Make the highlight effect a circle on the bookmarks combo button. ui-r=shorlander, r=MattN --- browser/modules/UITour.jsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/modules/UITour.jsm b/browser/modules/UITour.jsm index e17fd83c3fc1..8ae7182bbcf2 100644 --- a/browser/modules/UITour.jsm +++ b/browser/modules/UITour.jsm @@ -811,9 +811,9 @@ this.UITour = { let minDimension = Math.min(highlightHeight, highlightWidth); let maxDimension = Math.max(highlightHeight, highlightWidth); - // If the dimensions are within 110% of each other (to include the bookmarks button), + // If the dimensions are within 200% of each other (to include the bookmarks button), // make the highlight a circle with the largest dimension as the diameter. - if (maxDimension / minDimension <= 2.1) { + if (maxDimension / minDimension <= 3.0) { highlightHeight = highlightWidth = maxDimension; highlighter.style.borderRadius = "100%"; } else {