diff options
author | Walker Selby <git@walkerselby.com> | 2023-11-22 11:50:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 12:50:00 +0100 |
commit | 4ff0a7de8109b748cdaa707e9714478140095171 (patch) | |
tree | d0321aeb182c1ace326c8c851dbf9a7e8861ff62 /src/main/java/at/hannibal2/skyhanni/utils/renderables | |
parent | 5d1e9a07eabe3872c714b17b64b7a6e0a0073d73 (diff) | |
download | skyhanni-4ff0a7de8109b748cdaa707e9714478140095171.tar.gz skyhanni-4ff0a7de8109b748cdaa707e9714478140095171.tar.bz2 skyhanni-4ff0a7de8109b748cdaa707e9714478140095171.zip |
Internal Change: Reformat Code to match .editorconfig (#628)
Code cleanup done everywhere #628
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/renderables')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/renderables/Renderable.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/renderables/Renderable.kt b/src/main/java/at/hannibal2/skyhanni/utils/renderables/Renderable.kt index 2a3321abc..552e1a069 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/renderables/Renderable.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/renderables/Renderable.kt @@ -21,7 +21,7 @@ interface Renderable { val height: Int fun isHovered(posX: Int, posY: Int) = currentRenderPassMousePosition?.let { (x, y) -> x in (posX..posX + width) - && y in (posY..posY + height) // TODO: adjust for variable height? + && y in (posY..posY + height) // TODO: adjust for variable height? } ?: false /** |