Skip to content

Commit

Permalink
Yaaaaayyyy
Browse files Browse the repository at this point in the history
  • Loading branch information
francoissmith committed Oct 26, 2023
1 parent a108c09 commit 7cba5c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/apps/blazor-app/Components/Dashboard/Appliances.razor
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}
@for (int j = 0; j < noOfAppliancesInView && j + appliancesPage*noOfAppliancesInView < allAppliances.Count; j++)
{
KeyValuePair<String, List<ApplianceModel>> app = allAppliances.ElementAt(j + appliancesPage*5);
KeyValuePair<String, List<ApplianceModel>> app = allAppliances.ElementAt(j + appliancesPage*noOfAppliancesInView);
string iconName = app.Key + ".svg";
int count = 0;
List<ApplianceModel> tempAppliances = app.Value;
Expand Down Expand Up @@ -405,6 +405,7 @@
}

private async void IncrementAppliancePage(){
Console.WriteLine("Incrementing: " + appliancesPage + " " + applianceNumberOfPage + " " + noOfAppliancesInView);
applianceAnimation = "appliance-slide-out-left";
StateHasChanged();
await Task.Delay(100);
Expand All @@ -417,6 +418,7 @@
StateHasChanged();
}
private async void DecrementAppliancePage(){
Console.WriteLine("Decrementing: " + appliancesPage + " " + applianceNumberOfPage + " " + noOfAppliancesInView);
applianceAnimation = "appliance-slide-out-right";
StateHasChanged();
await Task.Delay(100);
Expand Down
4 changes: 0 additions & 4 deletions src/apps/blazor-app/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -895,10 +895,6 @@ video {
top: 100%;
}

.right-96 {
right: 24rem;
}

.isolate {
isolation: isolate;
}
Expand Down

0 comments on commit 7cba5c9

Please sign in to comment.