diff options
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/resources/assets/skyhanni/shaders/rounded_rect.fsh b/src/main/resources/assets/skyhanni/shaders/rounded_rect.fsh index 0d91be0a5..e728bf43d 100644 --- a/src/main/resources/assets/skyhanni/shaders/rounded_rect.fsh +++ b/src/main/resources/assets/skyhanni/shaders/rounded_rect.fsh @@ -22,7 +22,7 @@ void main() { vec2 newHalfSize = vec2(halfSize.x * xScale, halfSize.y * yScale); float newCenterPosY = centerPos.y; - if (yScale > 1.0) { + if (yScale != 1.0) { newCenterPosY = centerPos.y - (halfSize.y * (yScale - 1)); } diff --git a/src/main/resources/assets/skyhanni/shaders/rounded_rect_outline.fsh b/src/main/resources/assets/skyhanni/shaders/rounded_rect_outline.fsh index 278390056..64c8a54d6 100644 --- a/src/main/resources/assets/skyhanni/shaders/rounded_rect_outline.fsh +++ b/src/main/resources/assets/skyhanni/shaders/rounded_rect_outline.fsh @@ -26,7 +26,7 @@ void main() { vec2 newHalfSize = vec2(halfSize.x * xScale, halfSize.y * yScale); float newCenterPosY = centerPos.y; - if (yScale > 1.0) { + if (yScale != 1.0) { newCenterPosY = centerPos.y - (halfSize.y * (yScale - 1)); } diff --git a/src/main/resources/assets/skyhanni/shaders/rounded_texture.fsh b/src/main/resources/assets/skyhanni/shaders/rounded_texture.fsh index a38ebc4ea..4e5c0e1ea 100644 --- a/src/main/resources/assets/skyhanni/shaders/rounded_texture.fsh +++ b/src/main/resources/assets/skyhanni/shaders/rounded_texture.fsh @@ -25,7 +25,7 @@ void main() { vec2 newHalfSize = vec2(halfSize.x * xScale, halfSize.y * yScale); float newCenterPosY = centerPos.y; - if (yScale > 1.0) { + if (yScale != 1.0) { newCenterPosY = centerPos.y - (halfSize.y * (yScale - 1)); } |