From de2cff80fdec4a262048bbb401b95d6e90163e80 Mon Sep 17 00:00:00 2001 From: kozbial Date: Wed, 14 Jul 2021 16:11:11 -0700 Subject: [PATCH] clang-format core/utils/rect.js --- core/utils/rect.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/utils/rect.js b/core/utils/rect.js index 318cf1d0d..85ade5388 100644 --- a/core/utils/rect.js +++ b/core/utils/rect.js @@ -62,7 +62,8 @@ Rect.prototype.contains = function(x, y) { * @return {boolean} Whether this rectangle intersects the provided rectangle. */ Rect.prototype.intersects = function(other) { - return !(this.left > other.right || this.right < other.left || + return !( + this.left > other.right || this.right < other.left || this.top > other.bottom || this.bottom < other.top); };