PathLayer: run first update without delay
This commit is contained in:
parent
83b914d1b2
commit
3ef832efb8
@ -201,7 +201,7 @@ public class PathLayer extends Layer {
|
||||
|
||||
// update layers when map moved by at least one tile
|
||||
if ((tx != mCurX || ty != mCurY || tz != mCurZ) || mUpdatePoints) {
|
||||
mWorker.submit(100);
|
||||
mWorker.submit(mUpdatePoints ? 0 : 100);
|
||||
mCurX = tx;
|
||||
mCurY = ty;
|
||||
mCurZ = tz;
|
||||
|
Loading…
x
Reference in New Issue
Block a user