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

Unified Diff: ui/webui/resources/js/cr/ui/bubble.js

Issue 2941893002: DO NOT SUBMIT: results of old clang-format (Closed)
Patch Set: Created 3 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 | « ui/webui/resources/js/analytics.js ('k') | ui/webui/resources/js/cr/ui/touch_handler.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/bubble.js
diff --git a/ui/webui/resources/js/cr/ui/bubble.js b/ui/webui/resources/js/cr/ui/bubble.js
index abb8a5aa3759abac941b9267e3fca83d3e62c2a5..055f1cb59b70c0774f83fb9ed0d6414161407193 100644
--- a/ui/webui/resources/js/cr/ui/bubble.js
+++ b/ui/webui/resources/js/cr/ui/bubble.js
@@ -191,9 +191,9 @@ cr.define('cr.ui', function() {
left = Math.max(Math.min(left, maxLeftPos), minLeftPos);
var arrowTip = Math.min(
Math.max(
- arrow.width / 2, this.arrowAtRight_ ?
- left + bubble.width - anchorMid :
- anchorMid - left),
+ arrow.width / 2,
+ this.arrowAtRight_ ? left + bubble.width - anchorMid :
+ anchorMid - left),
bubble.width - arrow.width / 2);
// Work out the vertical placement, attempting to fit the bubble
« no previous file with comments | « ui/webui/resources/js/analytics.js ('k') | ui/webui/resources/js/cr/ui/touch_handler.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698