From f611ac25e6c9da7a12e46c12f8dc9440eeaecc76 Mon Sep 17 00:00:00 2001 From: weisj <31143295+weisJ@users.noreply.github.com> Date: Mon, 1 Mar 2021 21:24:55 +0100 Subject: [PATCH] SVGIcon: Formatting --- .../main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java b/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java index 851948a4..ca205fda 100644 --- a/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java +++ b/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java @@ -234,7 +234,9 @@ public class DarkSVGIcon implements DerivableIcon, RotateIcon, Seri double r = rotation; if (r < 0) r += 2 * Math.PI; if (r > 2 * Math.PI) r -= 2 * Math.PI; - return Scale.equalWithError(r, 0) || Scale.equalWithError(r, Math.PI / 2) || Scale.equalWithError(r, Math.PI) + return Scale.equalWithError(r, 0) + || Scale.equalWithError(r, Math.PI / 2) + || Scale.equalWithError(r, Math.PI) || Scale.equalWithError(r, 3 * Math.PI / 2); }