From db6a77f93bb6ecd14c52ef922595967d8c22541f Mon Sep 17 00:00:00 2001 From: cybice Date: Sun, 25 Oct 2015 23:00:00 +0300 Subject: [PATCH] Fix const (for scrollable pages) --- src/google_map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google_map.js b/src/google_map.js index 20341f1..8ea77e6 100644 --- a/src/google_map.js +++ b/src/google_map.js @@ -650,7 +650,7 @@ export default class GoogleMap extends Component { if (!this.mouseInMap_) return; const currTime = (new Date()).getTime(); - const K_RECALC_CLIENT_RECT_MS = 3000; + const K_RECALC_CLIENT_RECT_MS = 50; if (currTime - this.mouseMoveTime_ > K_RECALC_CLIENT_RECT_MS) { this.boundingRect_ = e.currentTarget.getBoundingClientRect();