Skip to content

Commit

Permalink
Refactor ActivatePreviouslyActiveLayoutEngine as expression
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Jan 10, 2024
1 parent 5d598da commit 69b43f2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Whim/Workspace/Workspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,7 @@ public void CycleLayoutEngine(bool reverse = false)

public void PreviousLayoutEngine() => CycleLayoutEngine(true);

Check warning on line 264 in src/Whim/Workspace/Workspace.cs

View check run for this annotation

Codecov / codecov/patch

src/Whim/Workspace/Workspace.cs#L264

Added line #L264 was not covered by tests

public void ActivatePreviouslyActiveLayoutEngine()
{
TrySetLayoutEngineFromIndex(_prevLayoutEngineIndex);
}
public void ActivatePreviouslyActiveLayoutEngine() => TrySetLayoutEngineFromIndex(_prevLayoutEngineIndex);

Check warning on line 266 in src/Whim/Workspace/Workspace.cs

View check run for this annotation

Codecov / codecov/patch

src/Whim/Workspace/Workspace.cs#L266

Added line #L266 was not covered by tests

public bool TrySetLayoutEngineFromName(string name)
{
Expand Down

0 comments on commit 69b43f2

Please sign in to comment.