mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 05:19:13 +00:00
minor update
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user