Skip to content

Commit a20c421

Browse files
author
Lehonti Ramos
committed
readonly modifiers added to fields
1 parent e73b87f commit a20c421

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Fluent.Ribbon/Controls/InRibbonGallery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class InRibbonGallery : Selector, IScalableRibbonControl, IDropDownContro
5050
private ToggleButton? dropDownButton;
5151

5252
// Freezed image (created during snapping)
53-
private Image snappedImage = new();
53+
private readonly Image snappedImage = new();
5454

5555
// Is visual currently snapped
5656
private bool isSnapped;

Fluent.Ribbon/Controls/RibbonGroupBoxWrapPanel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ internal UvSize(Orientation orientation)
199199

200200
internal double U;
201201
internal double V;
202-
private Orientation orientation;
202+
private readonly Orientation orientation;
203203

204204
internal double Width
205205
{

0 commit comments

Comments
 (0)