refactor: use new method signature
This commit is contained in:
parent
1afe47a218
commit
d36ff5fb62
|
@ -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>
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue