Skip to content

Commit e2022b5

Browse files
committed
UI属性の改善: スライダーとスピンボックスの調整
`ContextSize` と `VRAM` プロパティに関連するUI属性を改善し、ユーザーが値を直感的かつ正確に設定できるようにしました。
1 parent 7501085 commit e2022b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Plugins/WindowTranslator.Plugin.PLaMoPlugin/PLaMoOptions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ public class PLaMoOptions : IPluginParam
1717

1818
[LocalizedDescription(typeof(Resources), $"{nameof(ContextSize)}_Desc")]
1919
[Range(512, 32768)]
20+
[Slidable(512, 32768, 16, 128, true, 0.1)]
2021
public int ContextSize { get; set; } = 2048;
2122

2223
[Range(-1, 6)]
23-
[Spinnable]
24+
[Spinnable(Minimum = -1, Maximum = 6)]
2425
[LocalizedDescription(typeof(Resources), $"{nameof(VRAM)}_Desc")]
2526
public int VRAM { get; set; } = -1;
2627
}

0 commit comments

Comments
 (0)