Skip to content

Commit 24b8cd5

Browse files
authored
Merge pull request #107 from arup-group/bugfix/OGH-25-Check-box-doesn-t-expire-component
OGH-25-Check-box-doesn-t-expire-component
2 parents ead00ab + cb79e1d commit 24b8cd5

5 files changed

+9
-9
lines changed

GH_UnitNumber/GH_UnitNumber.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<RepositoryUrl>https://github.com/arup-group/OasysGH</RepositoryUrl>
1111
<PackageReadmeFile>README.md</PackageReadmeFile>
1212
<PackageIcon>UnitNumberLogo64.png</PackageIcon>
13-
<Version>1.0.2</Version>
13+
<Version>1.0.3</Version>
1414
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1515
<BaseOutputPath>bin\</BaseOutputPath>
1616
<AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>

OasysGH/OasysGH.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<PackageProjectUrl>https://github.com/arup-group/OasysGH</PackageProjectUrl>
1010
<RepositoryUrl>https://github.com/arup-group/OasysGH</RepositoryUrl>
1111
<PackageReadmeFile>README.md</PackageReadmeFile>
12-
<Version>1.0.2</Version>
12+
<Version>1.0.3</Version>
1313
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1414
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1515
<LangVersion>8.0</LangVersion>
1616
<Description>OasysGH is a library with shared content for Oasys Grasshopper plugins.</Description>
17-
<PackageReleaseNotes>This is a release of OasysGH 1.0.2.</PackageReleaseNotes>
17+
<PackageReleaseNotes>This is a release of OasysGH 1.0.3.</PackageReleaseNotes>
1818
<PackageTags>oasys;grasshopper</PackageTags>
1919
</PropertyGroup>
2020
<ItemGroup>

OasysGH/OasysPluginInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public static class OasysGHVersion {
55
public const bool IsBeta = false;
66
// this is the one place to set the version in VS:
77
// also update the version manually in OasysGH.csproj
8-
public const string Version = "1.0.2";
8+
public const string Version = "1.0.3";
99
}
1010

1111
public class OasysPluginInfo {

OasysGH/UI/DropDownCheckBoxesComponentAttributes.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ public override GH_ObjectResponse RespondToMouseUp(GH_Canvas sender, GH_CanvasMo
201201
_toggles[i] = !_toggles[i];
202202
_toggleAction(_toggles);
203203

204-
comp.ExpireSolution(true);
205204
comp.Expire = true;
205+
comp.ExpireSolution(true);
206206
return GH_ObjectResponse.Handled;
207207
}
208208
}

OasysGH/UI/DropDownSliderComponentAttributes.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ public override GH_ObjectResponse RespondToMouseDoubleClick(GH_Canvas sender, GH
155155
_noDigits = hiddenSlider.Slider.Type == GH_SliderAccuracy.Integer ? 0 : hiddenSlider.Slider.DecimalPlaces;
156156
_changeMaxMin(_maxValue, _minValue);
157157
comp.OnDisplayExpired(false);
158-
comp.ExpireSolution(true);
159158

160159
comp.Expire = true;
160+
comp.ExpireSolution(true);
161161
return GH_ObjectResponse.Handled;
162162
}
163163
}
@@ -219,8 +219,8 @@ public override GH_ObjectResponse RespondToMouseMove(GH_Canvas sender, GH_Canvas
219219

220220
Instances.CursorServer.AttachCursor(sender, "GH_NumericSlider");
221221

222-
comp.ExpireSolution(true);
223222
comp.Expire = true;
223+
comp.ExpireSolution(true);
224224
return GH_ObjectResponse.Ignore;
225225
}
226226

@@ -266,8 +266,8 @@ public override GH_ObjectResponse RespondToMouseUp(GH_Canvas sender, GH_CanvasMo
266266
_deltaY = 0;
267267
_dragY = false;
268268

269-
comp.ExpireSolution(true);
270269
comp.Expire = true;
270+
comp.ExpireSolution(true);
271271
return GH_ObjectResponse.Release;
272272
}
273273

@@ -277,8 +277,8 @@ public override GH_ObjectResponse RespondToMouseUp(GH_Canvas sender, GH_CanvasMo
277277
_deltaX = 0;
278278
_dragX = false;
279279

280-
comp.ExpireSolution(true);
281280
comp.Expire = true;
281+
comp.ExpireSolution(true);
282282
return GH_ObjectResponse.Release;
283283
}
284284

0 commit comments

Comments
 (0)