EgtCAM5 1.9i1 :

- tooltip anche su bottoni toolbar disegno disabilitati
- corretta impostazione step in simulazione.
This commit is contained in:
Dario Sassi
2018-09-10 07:12:29 +00:00
parent 2499e7881f
commit 900a38a9b4
3 changed files with 48 additions and 4 deletions
@@ -220,11 +220,12 @@ Public Class SimulationExpanderVM
Return m_SliderValue
End Get
Set(value As Double)
If Math.Abs(value - m_SliderValue) > EPS_SMALL Then
value = Math.Max(1, Math.Min(value, 100))
If Math.Abs(value - m_SliderValue) > 1 Then
m_SliderValue = value
EgtSimSetStep(value * m_SliderX)
OnPropertyChanged("SliderValue")
End If
EgtSimSetStep(value * m_SliderX)
End Set
End Property