Merge "Directly assign mDepth" into sc-v2-dev
This commit is contained in:
commit
c518932f74
|
@ -289,10 +289,9 @@ public class DepthController implements StateHandler<LauncherState>,
|
|||
if (Float.compare(mDepth, depthF) == 0) {
|
||||
return;
|
||||
}
|
||||
if (dispatchTransactionSurface(depthF)) {
|
||||
dispatchTransactionSurface(depthF);
|
||||
mDepth = depthF;
|
||||
}
|
||||
}
|
||||
|
||||
public void onOverlayScrollChanged(float progress) {
|
||||
// Round out the progress to dedupe frequent, non-perceptable updates
|
||||
|
|
Loading…
Reference in New Issue