From 155934523f0b7f8bef7266aa107ebeed2a9e47ae Mon Sep 17 00:00:00 2001 From: Qiu Yuzhou Date: Sun, 11 Oct 2026 21:24:44 +0800 Subject: [PATCH] fix(plugin): align argument editor button heights --- ShadowsocksX-NG2/App/UI/Servers/Plugin/PluginEditorSheet.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ShadowsocksX-NG2/App/UI/Servers/Plugin/PluginEditorSheet.swift b/ShadowsocksX-NG2/App/UI/Servers/Plugin/PluginEditorSheet.swift index 47995e87..7120f30f 100644 --- a/ShadowsocksX-NG2/App/UI/Servers/Plugin/PluginEditorSheet.swift +++ b/ShadowsocksX-NG2/App/UI/Servers/Plugin/PluginEditorSheet.swift @@ -125,6 +125,7 @@ private struct PluginValueList: View { move(item.id, by: -1) } label: { Image(systemName: "arrow.up") + .frame(width: 16, height: 16) } .help("上移").accessibilityLabel("上移") .disabled(values.first?.id == item.id) @@ -132,6 +133,7 @@ private struct PluginValueList: View { move(item.id, by: 1) } label: { Image(systemName: "arrow.down") + .frame(width: 16, height: 16) } .help("下移").accessibilityLabel("下移") .disabled(values.last?.id == item.id) @@ -140,6 +142,7 @@ private struct PluginValueList: View { values.removeAll { $0.id == item.id } } label: { Image(systemName: "minus") + .frame(width: 16, height: 16) } .help("删除此项").accessibilityLabel("删除此项") }