Skip to content

Commit

Permalink
Add Icon binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ottermandias committed Aug 29, 2021
1 parent bf3c6ba commit e8d8fec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions GatherBuddy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<None Update="Icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if $(Configuration) == Release powershell Compress-Archive -Force $(TargetPath), $(TargetDir)$(SolutionName).pdb, $(TargetDir)$(SolutionName).json $(ProjectDir)$(SolutionName).zip" />
</Target>
Expand Down
2 changes: 1 addition & 1 deletion Gui/TabFish.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static void DependencyWarning(Cache.Fish fish)
}

ImGui.TableNextColumn();
ImGui.Dummy(new Vector2(_fishCache.LongestPercentage - ImGui.CalcTextSize(fish.UptimeString).X, 0));
ImGui.Dummy(new Vector2(_fishCache.LongestPercentage * _globalScale - ImGui.CalcTextSize(fish.UptimeString).X, 0));
ImGui.SameLine();
ImGui.Text(fish.UptimeString);

Expand Down
Binary file added images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e8d8fec

Please sign in to comment.