cloudflight
2024-06-08 531e9b2ccf0ddf87f776f43378650d5169292bcb
Hydraulic/Hydro.MapView/Common/MapDimensions.cs
@@ -11,7 +11,7 @@
    [Serializable]
    public class MapDimensions
    {
        [Category("4、视角")]
        [DisplayName("中心")]
@@ -33,18 +33,18 @@
        [Category("4、视角")]
        [DisplayName("俯视角度")]
        [Browsable(true)]
        public double rotationF
        public double rotationF
        {
            get
            get
            {
                if (Lock2DView) _rotationF = 90;
                return _rotationF;
            }
            set
            {
            set
            {
                _rotationF = value;
                if (Lock2DView) _rotationF = 90;
            }
            }
        }
        [Category("4、视角")]
@@ -76,7 +76,7 @@
        [Category("4、视角")]
        [DisplayName("锁定平面视角")]
        [Browsable(true)]
        public bool Lock2DView { get; set; } = false;
        public bool Lock2DView { get; set; }=false;
        /// <summary>
        /// 编辑模式true,浏览模式false;默认值:true;浏览模式下,不能编辑模型