Skip to content

Commit

Permalink
FModel v4.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
4sval committed Dec 28, 2022
1 parent b068e44 commit 41adc24
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/autoclose.yml

This file was deleted.

6 changes: 3 additions & 3 deletions FModel/FModel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<TargetFramework>net6.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<ApplicationIcon>FModel.ico</ApplicationIcon>
<Version>4.4.0</Version>
<AssemblyVersion>4.4.0.0</AssemblyVersion>
<FileVersion>4.4.0.0</FileVersion>
<Version>4.4.1</Version>
<AssemblyVersion>4.4.1.0</AssemblyVersion>
<FileVersion>4.4.1.0</FileVersion>
<IsPackable>false</IsPackable>
<IsPublishable>true</IsPublishable>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
Expand Down
6 changes: 3 additions & 3 deletions FModel/ViewModels/SettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ public void Initialize()
{
AesEndpoint = endpoints[0];
MappingEndpoint = endpoints[1];
MappingEndpoint.PropertyChanged += (sender, args) =>
MappingEndpoint.PropertyChanged += (_, args) =>
{
if (sender is FEndpoint endpoint && !_mappingsUpdate)
_mappingsUpdate = args.PropertyName is "Overwrite" or "FilePath" && endpoint.IsValid;
if (!_mappingsUpdate)
_mappingsUpdate = args.PropertyName is "Overwrite" or "FilePath";
};
}

Expand Down
2 changes: 1 addition & 1 deletion FModel/Views/Snooper/SnimGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ private void DrawTextureInspector(Snooper s)
}
Popup(() =>
{
if (ImGui.MenuItem("Overlay UVs", null, _ti_overlayUv))
if (ImGui.MenuItem("Overlay UVs", null, _ti_overlayUv, false))
_ti_overlayUv = !_ti_overlayUv;
});
}
Expand Down

0 comments on commit 41adc24

Please sign in to comment.