File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,19 @@ Main record responsible with interacting with the {ref}`Options` gametab.
5959 MaxBrightness, RoofsHidden: Boolean;
6060 end;
6161
62+ procedure TRSOptions.Setup();
63+ begin
64+ case RSClient.Client of
65+ ERSClient.OFFICIAL:
66+ Self.Sliders[ERSOptionsSlider.BRIGHTNESS].Color := $202328;
67+ ERSClient.LEGACY, ERSClient.RUNELITE:
68+ Self.Sliders[ERSOptionsSlider.BRIGHTNESS].Color := $1F2227;
69+ end;
70+
71+ Self.Sliders[ERSOptionsSlider.ZOOM].Color := $202328;
72+ Self.ZoomLevel := -1;
73+ end;
74+
6275(*
6376## Options.SetupGameTab
6477```pascal
8194 Bounds.Y1 := GameTab.Bounds.Y1 + 72;
8295 Bounds.X2 := Bounds.X1 + 96;
8396 Bounds.Y2 := Bounds.Y1 + 9;
84- Color := 2040359;
8597 Width := Bounds.Width - 1;
8698 end;
8799
91103 Bounds.Y1 := GameTab.Bounds.Y1 + 109;
92104 Bounds.X2 := Self.Sliders[ERSOptionsSlider.BRIGHTNESS].Bounds.X2;
93105 Bounds.Y2 := Bounds.Y1 + 9;
94- Color := 2106152;
95106 Width := Bounds.Width - 1;
96107 end;
97108
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ begin
156156 Minimap.Compass.Accuracy := 0.03*PI;
157157 SetLength(Minimap.Orbs, Ord(High(ERSMinimapOrb))+1);
158158
159- Options.ZoomLevel := -1 ;
159+ Options.Setup() ;
160160 MM2MS.Projector.RSZoom := -1;
161161 RSMouseZoom.ZoomLevel := -1;
162162 RSMouseZoom.Enabled := True;
You can’t perform that action at this time.
0 commit comments