2023-08-06 21:51:04 -06:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
2023-08-20 20:52:48 -06:00
|
|
|
|
namespace FocusVolumeControl.UI;
|
|
|
|
|
|
|
|
|
|
internal class ValueWithOpacity<T>
|
2023-08-06 21:51:04 -06:00
|
|
|
|
{
|
2023-08-20 20:52:48 -06:00
|
|
|
|
[JsonProperty("value")]
|
|
|
|
|
public required T Value { get; init; }
|
2023-08-06 21:51:04 -06:00
|
|
|
|
|
2023-08-20 20:52:48 -06:00
|
|
|
|
[JsonProperty("opacity")]
|
|
|
|
|
public required float Opacity { get; init; }
|
2023-08-06 21:51:04 -06:00
|
|
|
|
|
|
|
|
|
}
|