Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f35052638a | |||
| 1d70c8777e | |||
| 880299997f | |||
|
|
1842cb3954 | ||
| 3e46014e5f | |||
|
|
f69ad70f0c | ||
|
|
7e7f88a072 | ||
|
|
bd98a630c8 | ||
|
|
523dfc7295 | ||
|
|
e07863ddd4 | ||
| 2361b30e9f | |||
| cc03bb576d | |||
|
|
1511090f63 | ||
|
|
dfc6f4ec3c | ||
| 25a0eeadc8 | |||
| 9416e376b8 | |||
| 1bc120c8aa | |||
|
|
46bc99a932 | ||
|
|
3605db0969 | ||
| c64091d997 | |||
| 65d483e0f8 | |||
| 8c1751fe61 | |||
|
|
1b6eb149b8 | ||
|
|
2f6dbc273c | ||
|
|
7bb4e89a0d | ||
|
|
8facbafff9 | ||
|
|
5e30cb7bea | ||
|
|
4b8445a120 | ||
|
|
d9cf5aecf4 | ||
|
|
d2ac922881 | ||
|
|
b31f59a7b5 |
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<Authors></Authors>
|
||||
<Company></Company>
|
||||
<Version>1.11.7</Version>
|
||||
<Version>1.11.6</Version>
|
||||
<Description></Description>
|
||||
<Copyright></Copyright>
|
||||
<PackageProjectUrl>https://github.com/Light-Public-Syncshells/LightlessClient</PackageProjectUrl>
|
||||
|
||||
@@ -299,7 +299,7 @@ public class ServerConfigurationManager
|
||||
|
||||
internal void AddPairTag(string tag)
|
||||
{
|
||||
if (tag.Length <= _maxCharactersFolder)
|
||||
if (tag.Length > _maxCharactersFolder)
|
||||
{
|
||||
CurrentPairTagStorage().ServerAvailablePairTags.Add(tag);
|
||||
_pairTagConfig.Save();
|
||||
@@ -313,7 +313,7 @@ public class ServerConfigurationManager
|
||||
|
||||
internal void AddSyncshellTag(string tag)
|
||||
{
|
||||
if (tag.Length <= _maxCharactersFolder)
|
||||
if (tag.Length > _maxCharactersFolder)
|
||||
{
|
||||
CurrentSyncshellTagStorage().ServerAvailableSyncshellTags.Add(tag);
|
||||
_syncshellTagConfig.Save();
|
||||
|
||||
@@ -431,11 +431,10 @@ public class CompactUi : WindowMediatorSubscriberBase
|
||||
if (groupedfiles != null)
|
||||
{
|
||||
//Checking of VRAM threshhold
|
||||
var texGroup = groupedfiles.SingleOrDefault(v => string.Equals(v.Key, "tex", StringComparison.Ordinal));
|
||||
var actualVramUsage = texGroup != null ? texGroup.Sum(f => f.OriginalSize) : 0L;
|
||||
var actualVramUsage = groupedfiles.SingleOrDefault(v => string.Equals(v.Key, "tex", StringComparison.Ordinal)).Sum(f => f.OriginalSize);
|
||||
var isOverVRAMUsage = _playerPerformanceConfig.Current.VRAMSizeWarningThresholdMiB * 1024 * 1024 < actualVramUsage;
|
||||
|
||||
if ((isOverTriHold || isOverVRAMUsage) && _playerPerformanceConfig.Current.WarnOnExceedingThresholds)
|
||||
if (isOverTriHold || isOverVRAMUsage)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
_uiSharedService.IconText(FontAwesomeIcon.ExclamationTriangle, UIColors.Get("LightlessYellow"));
|
||||
|
||||
Reference in New Issue
Block a user