Procházet zdrojové kódy

Fix flickering when calling setStyle with topBarBorderColor multiple times

Guy Carmeli před 7 roky
rodič
revize
0fe0079992

+ 0
- 1
android/app/src/main/java/com/reactnativenavigation/views/TopBarBorder.java Zobrazit soubor

@@ -57,7 +57,6 @@ class TopBarBorder extends ShapeDrawable {
57 57
 
58 58
     @Override
59 59
     protected void onDraw(Shape shape, Canvas canvas, Paint paint) {
60
-        super.onDraw(shape, canvas, paint);
61 60
         createBorder(canvas);
62 61
         paint.setColor(backgroundColor.getColor(Color.WHITE));
63 62
         canvas.drawPath(border.path, pathPaint);