1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 06:26:02 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Yan Maniez
f700315e56 Revert "Correctif search"
This reverts commit 51f7b985d9.
2021-10-10 18:39:21 +02:00
Yan Maniez
bae9ceefc2 Maj dep 2021-10-10 18:30:08 +02:00
3 changed files with 2 additions and 4 deletions

View file

@ -48,8 +48,6 @@ namespace AideDeJeuLib
{ {
return GetChildren<ClassFeatureItem>(); return GetChildren<ClassFeatureItem>();
} }
private set
{ }
} }
[YamlMember(Order = 15)] [YamlMember(Order = 15)]

View file

@ -55,7 +55,7 @@ namespace AideDeJeu.ViewModels.Library
public Item Item { get; set; } public Item Item { get; set; }
} }
public static string GetPreview(string markdown, string searchText) public string GetPreview(string markdown, string searchText)
{ {
int position = markdown.IndexOf(searchText); int position = markdown.IndexOf(searchText);
int startPosition = Math.Max(0, position - 30); int startPosition = Math.Max(0, position - 30);

2
HD

@ -1 +1 @@
Subproject commit 90831ec160dc30a278a2dbc67e38328f76bf2020 Subproject commit a552c89088511f1439ff6aae63291f9e9ec62359