Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Killface1980 committed May 26, 2017
1 parent 1ffa23b commit 41c4894
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
Binary file modified Assemblies/Outfitter.dll
Binary file not shown.
Binary file modified Source/.vs/Outfitter/v14/.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/Outfitter/Outfitter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="ApparelStatCache.cs" />
<Compile Include="Class1.cs" />
<Compile Include="Outfitter_Patches.cs" />
<Compile Include="Outfitter_ModBase.cs" />
<Compile Include="SpecialThingFilterWorker_DeadmansApparel.cs" />
<Compile Include="NoCCL\DetourAttribute.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Outfitter
{
class Patches
class Outfitter_Patches
{
[HarmonyPatch(typeof(InspectPaneUtility), "DoTabs")]
static class DoTabs_Prefix
Expand All @@ -37,15 +37,14 @@ private static bool DoTabs(IInspectPane pane)
float width = 0f;
bool flag = false;


foreach (InspectTabBase current in pane.CurTabs)
{
if (current.IsVisible)
{
Rect rect = new Rect(num, y, TabWidth, TabHeight);
width = num;
Text.Font = GameFont.Small;
if (Widgets.ButtonText(rect, current.labelKey.Translate(), true, false, true))
if (Widgets.ButtonText(rect, current.labelKey.Translate()))
{
InterfaceToggleTab(current, pane);
}
Expand Down
Binary file modified Source/Outfitter/obj/NoCCL/Outfitter.dll
Binary file not shown.

0 comments on commit 41c4894

Please sign in to comment.