minor update

This commit is contained in:
neon443
2025-09-23 11:23:33 +01:00
parent 528f04d56b
commit 37e2165725
2 changed files with 1 additions and 4 deletions

View File

@@ -11,10 +11,6 @@ using namespace metal;
[[ stitchable ]] half4 crt(float2 pos, half4 color, float2 size, float time) { [[ stitchable ]] half4 crt(float2 pos, half4 color, float2 size, float time) {
float2 uv = pos/size; float2 uv = pos/size;
float2 topLeading = float2(0, 0);
float2 topTrailing = float2(0, size.x);
float2 bottomLeading = float2(size.y, 0);
float2 bottomTrailing = size;
//scanlines //scanlines
half scanline = 0.5 + 0.5 * sin(uv.y * size.y*2); half scanline = 0.5 + 0.5 * sin(uv.y * size.y*2);

View File

@@ -219,6 +219,7 @@ struct SettingsView: View {
} }
} }
} }
.navigationTitle("Settings")
.listStyle(.insetGrouped) .listStyle(.insetGrouped)
.scrollContentBackground(.hidden) .scrollContentBackground(.hidden)
.onChange(of: hostsManager.settings) { _ in .onChange(of: hostsManager.settings) { _ in