From 00d82d3d5dd713b286fa7f58d38086089a981c28 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Mon, 25 Feb 2013 15:00:36 -0800 Subject: Disable clipping where unnecessary This change prevents the renderer from using a stencil buffer to render rotated CellLayouts. Change-Id: I0414f59ed45502323ab588820ceb4a5e3ec17140 --- src/com/cyanogenmod/trebuchet/Workspace.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/com/cyanogenmod/trebuchet/Workspace.java') diff --git a/src/com/cyanogenmod/trebuchet/Workspace.java b/src/com/cyanogenmod/trebuchet/Workspace.java index b81655cb7..e69c426ca 100644 --- a/src/com/cyanogenmod/trebuchet/Workspace.java +++ b/src/com/cyanogenmod/trebuchet/Workspace.java @@ -520,6 +520,8 @@ public class Workspace extends PagedView LauncherApplication app = (LauncherApplication)context.getApplicationContext(); mIconCache = app.getIconCache(); setWillNotDraw(false); + setClipChildren(false); + setClipToPadding(false); setChildrenDrawnWithCacheEnabled(true); final Resources res = getResources(); -- cgit v1.2.3