Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e51f5cdc authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am e97079d9: am a16bb347: am 44fea603: Merge "Fix RoundRect radius." into lmp-dev

* commit 'e97079d9':
  Fix RoundRect radius.
parents 96a67430 e97079d9
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -675,7 +675,7 @@ public final class Canvas_Delegate {
                            graphics.fillRoundRect(
                            graphics.fillRoundRect(
                                    (int)left, (int)top,
                                    (int)left, (int)top,
                                    (int)(right - left), (int)(bottom - top),
                                    (int)(right - left), (int)(bottom - top),
                                    (int)rx, (int)ry);
                                    2 * (int)rx, 2 * (int)ry);
                        }
                        }


                        if (style == Paint.Style.STROKE.nativeInt ||
                        if (style == Paint.Style.STROKE.nativeInt ||
@@ -683,7 +683,7 @@ public final class Canvas_Delegate {
                            graphics.drawRoundRect(
                            graphics.drawRoundRect(
                                    (int)left, (int)top,
                                    (int)left, (int)top,
                                    (int)(right - left), (int)(bottom - top),
                                    (int)(right - left), (int)(bottom - top),
                                    (int)rx, (int)ry);
                                    2 * (int)rx, 2 * (int)ry);
                        }
                        }
                    }
                    }
        });
        });