Esempio n. 1
0
        public DoubleRangeSliderOptionModel(Option option)
            : base(option.Id, option.DisplayName, option.Description, option.Params)
        {
            UpdateValue(option.Value);

            MaxValue.Value = option.MinMax[0].Max;
            MinValue.Value = option.MinMax[0].Min;

            Value1.Subscribe(_ => SignalValueChanged());
            Value2.Subscribe(_ => SignalValueChanged());
        }