diff --git a/Kiva-MIDI/Notes.fx b/Kiva-MIDI/Notes.fx index 7285a12..4fdaf60 100644 --- a/Kiva-MIDI/Notes.fx +++ b/Kiva-MIDI/Notes.fx @@ -48,7 +48,7 @@ void GS_Note(point NOTE input[1], inout TriangleStream OutputStream) float4 cl = colorlConv; float4 cr = colorrConv; - float noteBorder = 0.0013; + float noteBorder = 0.13; cl.xyz *= 0.2f; cr.xyz *= 0.2f; @@ -91,13 +91,14 @@ void GS_Note(point NOTE input[1], inout TriangleStream OutputStream) cr.xyz = clamp(cr.xyz, 0, 1); - float borderTop = n.end - noteBorder / ScreenAspect; - float borderBottom = n.start + noteBorder / ScreenAspect; + float border = (NoteRight - NoteLeft) * noteBorder; + float borderTop = n.end - border / ScreenAspect; + float borderBottom = n.start + border / ScreenAspect; if (borderTop < borderBottom) { return; } - float borderLeft = NoteLeft + noteBorder; - float borderRight = NoteRight - noteBorder; + float borderLeft = NoteLeft + border; + float borderRight = NoteRight - border; v.col = cl; v.pos = float4(borderLeft, borderBottom, 0, 1); diff --git a/Kiva-MIDI/Settings.cs b/Kiva-MIDI/Settings.cs index 75d6f87..0d9ff69 100644 --- a/Kiva-MIDI/Settings.cs +++ b/Kiva-MIDI/Settings.cs @@ -16,7 +16,7 @@ public class Settings class loadingSettings { public dynamic version, midi, general; }; class versionSettings { public string version; public bool enableUpdates; public bool installed; }; - public string VersionName { get; } = "v1.1.5"; + public string VersionName { get; } = "v1.1.6"; public bool Installed { get; } = false; public bool EnableUpdates { get; } = false;