Try different formatting style

This commit is contained in:
Thomas Müller
2017-07-16 18:28:20 +03:00
parent e6916ec57b
commit 19fb03e737
15 changed files with 94 additions and 41 deletions

View File

@ -60,12 +60,12 @@ namespace osu.Desktop.VisualTests.Tests
base.LoadComplete();
// Move box along a square trajectory
container
.MoveTo(new Vector2(0, 100), duration)
.Then().MoveTo(new Vector2(100, 100), duration)
.Then().MoveTo(new Vector2(100, 0), duration)
.Then().MoveTo(Vector2.Zero, duration)
.Loop();
container.Loop(c => c
.MoveTo(new Vector2(0, 100), duration).Then()
.MoveTo(new Vector2(100, 100), duration).Then()
.MoveTo(new Vector2(100, 0), duration).Then()
.MoveTo(Vector2.Zero, duration)
);
}
private class MyContextMenuContainer : Container, IHasContextMenu