Skip to content

Commit

Permalink
Merge pull request #143 from LykosAI/main
Browse files Browse the repository at this point in the history
  • Loading branch information
ionite34 authored Sep 22, 2023
2 parents 4cb06f9 + a178423 commit dd52d91
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to Stability Matrix will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html).

## v2.4.6
### Added
- LDSR / ADetailer shared folder links for Automatic1111 Package
### Changed
- Made Dark Mode background slightly lighter

## v2.4.5
### Fixed
- Fixed "Library Dir not set" error on launch
Expand Down
1 change: 1 addition & 0 deletions StabilityMatrix.Avalonia/Assets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Avalonia.Platform;
using StabilityMatrix.Avalonia.Models;
using StabilityMatrix.Core.Helper;
using StabilityMatrix.Core.Models;

namespace StabilityMatrix.Avalonia;

Expand Down
6 changes: 3 additions & 3 deletions StabilityMatrix.Avalonia/Views/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ private void TryEnableMicaEffect()
out var value
)
? (Color2)(Color)value!
: new Color2(32, 32, 32);
: new Color2(30, 31, 34);

color = color.LightenPercent(-0.8f);
color = color.LightenPercent(-0.5f);

Background = new ImmutableSolidColorBrush(color, 0.8);
Background = new ImmutableSolidColorBrush(color, 0.72);
}
else if (ActualThemeVariant == ThemeVariant.Light)
{
Expand Down
2 changes: 2 additions & 0 deletions StabilityMatrix.Core/Models/Packages/A3WebUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ IPrerequisiteHelper prerequisiteHelper
[SharedFolderType.Hypernetwork] = new[] { "models/hypernetworks" },
[SharedFolderType.ControlNet] = new[] { "models/ControlNet" },
[SharedFolderType.Codeformer] = new[] { "models/Codeformer" },
[SharedFolderType.LDSR] = new[] { "models/LDSR" },
[SharedFolderType.AfterDetailer] = new[] { "models/adetailer" }
};

[SuppressMessage("ReSharper", "ArrangeObjectCreationWhenTypeNotEvident")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace StabilityMatrix.Avalonia.Models;
namespace StabilityMatrix.Core.Models;

/// <summary>
/// Defines a remote downloadable resource.
Expand Down
1 change: 1 addition & 0 deletions StabilityMatrix.Core/Models/SharedFolderType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ public enum SharedFolderType
CLIP = 1 << 18,
ScuNET = 1 << 19,
GLIGEN = 1 << 20,
AfterDetailer = 1 << 21
}

0 comments on commit dd52d91

Please sign in to comment.