Bug 740983. Remove unneeded invalidate from scrollbar layers. r=kats

We used to fade the scrollbars by reuploading textures
rather than using a shader. Since the textures don't change anymore
the invalidate is unneeded.
This commit is contained in:
Jeff Muizelaar 2012-03-30 17:22:59 -04:00
parent 8882e64f22
commit 55780e3e28

View File

@ -235,7 +235,6 @@ public class ScrollbarLayer extends TileLayer {
beginTransaction(); // called on compositor thread
try {
mOpacity = Math.max(mOpacity - FADE_AMOUNT, 0.0f);
invalidate();
} finally {
endTransaction();
}
@ -254,7 +253,6 @@ public class ScrollbarLayer extends TileLayer {
beginTransaction(); // called on compositor thread
try {
mOpacity = 1.0f;
invalidate();
} finally {
endTransaction();
}