Commit d688ee87 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

fix flickering phot view on backpressed

parent d4327779
...@@ -318,7 +318,7 @@ class RendererThread(val context: Context, val surface: SurfaceTexture) ...@@ -318,7 +318,7 @@ class RendererThread(val context: Context, val surface: SurfaceTexture)
, height.minus(HEIGHT_MARGIN_BORDER_PX) , height.minus(HEIGHT_MARGIN_BORDER_PX)
) )
val c = surf.lockCanvas(dRect) val c = surf.lockCanvas(dRect)
c.drawColor(Color.TRANSPARENT) c.drawColor(Color.BLACK)
timerDecay(SLEEP_THRESHOLD) timerDecay(SLEEP_THRESHOLD)
if (bmpCache.size>0) calcBorders() if (bmpCache.size>0) calcBorders()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment