Disable clipping where unnecessary

This change prevents the renderer from using a stencil buffer
to render rotated CellLayouts.

Change-Id: I0414f59ed45502323ab588820ceb4a5e3ec17140
This commit is contained in:
Romain Guy
2013-02-25 15:00:36 -08:00
parent 4ae12dba54
commit ce3cbd145b
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -409,6 +409,8 @@ public class Workspace extends SmoothPagedView
LauncherApplication app = (LauncherApplication)context.getApplicationContext();
mIconCache = app.getIconCache();
setWillNotDraw(false);
setClipChildren(false);
setClipToPadding(false);
setChildrenDrawnWithCacheEnabled(true);
final Resources res = getResources();