Skip to content

Commit 42059f9

Browse files
authored
Merge pull request #407 from cjakeman/api-cabcontrols2
added Web\CabControls\ files to RunActivity projects
2 parents 00caa2e + fd7d83b commit 42059f9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Source/Orts.Formats.Msts/CabViewFile.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,10 @@ public class CabViewControl
346346
public double Width;
347347
public double Height;
348348

349-
public double MinValue;
350-
public double MaxValue;
349+
// Defaults which may be overridden when parsing CVF file
350+
public double MinValue = 0.0;
351+
public double MaxValue = 1.0;
352+
351353
public double OldValue;
352354
public string ACEFile = "";
353355

Source/RunActivity/RunActivity.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,9 @@
766766
<Content Include="Viewer3D\WebServices\Web\APISample\index.html" />
767767
<Content Include="Viewer3D\WebServices\Web\APISample\index.js" />
768768
<Content Include="Viewer3D\WebServices\Web\APISample\or_logo.png" />
769+
<Content Include="Viewer3D\WebServices\Web\CabControls\index.css" />
770+
<Content Include="Viewer3D\WebServices\Web\CabControls\index.html" />
771+
<Content Include="Viewer3D\WebServices\Web\CabControls\index.js" />
769772
<Content Include="Viewer3D\WebServices\Web\HUD\index.css" />
770773
<Content Include="Viewer3D\WebServices\Web\HUD\index.html" />
771774
<Content Include="Viewer3D\WebServices\Web\HUD\index.js" />

0 commit comments

Comments
 (0)