Skip to content

Commit

Permalink
Give placements 10ms to finish to further prevent flickering on initi…
Browse files Browse the repository at this point in the history
…al render/panning
  • Loading branch information
brncsk committed Apr 2, 2019
1 parent 4d1d93f commit a505c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style/pauseable_placement.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PauseablePlacement {

const shouldPausePlacement = () => {
const elapsedTime = browser.now() - startTime;
return this._forceFullPlacement ? false : elapsedTime > 2;
return this._forceFullPlacement ? false : elapsedTime > 10;
};

while (this._currentPlacementIndex >= 0) {
Expand Down

0 comments on commit a505c06

Please sign in to comment.