From 695bb8f02d8b46b7d7c4b7c6a1317e387d9c608c Mon Sep 17 00:00:00 2001 From: Spel0 <75626813+Spel0@users.noreply.github.com> Date: Thu, 12 Aug 2021 14:02:17 +0300 Subject: [PATCH] If someone would change pixel zoom var? idk --- source/Note.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Note.hx b/source/Note.hx index abd6adc..387d459 100644 --- a/source/Note.hx +++ b/source/Note.hx @@ -143,8 +143,8 @@ class Note extends FlxSprite animation.add(dataColor[i] + 'holdend', [i + 4]); // Tails } - var widthSize = Std.int(PlayState.curStage.startsWith('school') ? (width * PlayState.daPixelZoom) : (isSustainNote ? (width * 4.5) : (width * PlayState.daPixelZoom))); - + var widthSize = Std.int(PlayState.curStage.startsWith('school') ? (width * PlayState.daPixelZoom) : (isSustainNote ? (width * PlayState.daPixelZoom - 1.5) : (width * PlayState.daPixelZoom))); + setGraphicSize(widthSize); updateHitbox(); default: