Skip to content

Commit 1220db8

Browse files
committed
fix: The view covers the intensity-adjust slider. The zOrderOnTop attrib is not neccessary.
1 parent efda5a9 commit 1220db8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

library/src/jp/co/cyberagent/android/gpuimage/GPUImageView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ public GPUImageView(Context context, AttributeSet attrs) {
5757

5858
private void init(Context context, AttributeSet attrs) {
5959
mGLSurfaceView = new GPUImageGLSurfaceView(context, attrs);
60-
mGLSurfaceView.setZOrderOnTop(true);
60+
// mGLSurfaceView.setZOrderOnTop(true);
61+
mGLSurfaceView.setZOrderMediaOverlay(true);
6162
mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0);
6263
mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSPARENT);
6364
addView(mGLSurfaceView);

0 commit comments

Comments
 (0)