refactor: use new method signature

This commit is contained in:
Anna 2021-08-24 14:40:46 -04:00
parent 1afe47a218
commit d36ff5fb62
3 changed files with 3 additions and 7 deletions

View File

@ -33,9 +33,6 @@
<PackageReference Include="DalamudPackager" Version="2.1.2"/>
</ItemGroup>
<ItemGroup>
<Content Include="..\icon.png">
<Link>images/icon.png</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\icon.png" Link="images/icon.png" CopyToOutputDirectory="PreserveNewest" Visible="false"/>
</ItemGroup>
</Project>

View File

@ -51,7 +51,7 @@ namespace Globetrotter {
}
private void OnConfigCommand(string command, string args) {
this.Ui.OpenSettings(null, null);
this.Ui.OpenSettings();
}
private void OnCommand(string command, string args) {

View File

@ -1,5 +1,4 @@
using ImGuiNET;
using System;
using System.Numerics;
namespace Globetrotter {
@ -17,7 +16,7 @@ namespace Globetrotter {
this.Plugin = plugin;
}
public void OpenSettings(object? sender, EventArgs? e) {
public void OpenSettings() {
this.DisplaySettings = true;
}