Skip to content

Commit f8cd20b

Browse files
committed
chore: formatting
1 parent 1a9e97e commit f8cd20b

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: greut/eclint-action@v0
1919
- uses: jidicula/[email protected]
20-
with: { clang-format-version: "18" }
20+
with: { clang-format-version: "19" }

EcsactBenchmark/EcsactBenchmarkWindow.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ void DrawEventSummaryMessage(EventSummaryReportMessage summary) {
151151
void OnGUI() {
152152
var runtimeSettings = EcsactRuntimeSettings.Get();
153153

154-
if(runtimeSettings.systemImplSource != Ecsact.SystemImplSource.WebAssembly) {
154+
if(runtimeSettings.systemImplSource !=
155+
Ecsact.SystemImplSource.WebAssembly) {
155156
EditorGUILayout.HelpBox(
156157
"Ecsact benchmark only supports WebAssembly system implementations.",
157158
MessageType.Info

Editor/EcsactSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class EcsactMethodUIBindings : ScriptableObject {
8585
}
8686

8787
class EcsactSettingsSettingsProvider : SettingsProvider {
88-
private static bool showMissingMethods;
88+
private static bool showMissingMethods;
8989
private static List<string> cachedRecipeList = new();
9090

9191
Editor? runtimeSettingsEditor = null;
@@ -367,7 +367,7 @@ private VisualElement MakeRecipeElement() {
367367

368368
private void BindRecipeElement(VisualElement element, int index) {
369369
var toggle = element as Toggle;
370-
var recipe = cachedRecipeList[index];
370+
var recipe = cachedRecipeList[index];
371371
if(recipe != null) {
372372
toggle.text = recipe;
373373
toggle.SetValueWithoutNotify(IsUsingRecipe(recipe));

Runtime/EcsactDefaults.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ static public class Defaults {
1111
internal static EcsactRuntime? _Runtime;
1212
public static EcsactRuntime Runtime => _Runtime ??
1313
throw new Exception("Runtime is null, if you want to access it as early " +
14-
"as possible " +
15-
"use Ecsact.Defaults.WhenReady");
14+
"as possible " + "use Ecsact.Defaults.WhenReady");
1615
internal static Ecsact.Registry? _Registry;
1716
public static Ecsact.Registry Registry => _Registry ??
1817
throw new Exception("Registry is null, if you want to access it as early " +
19-
"as possible " +
20-
"use Ecsact.Defaults.WhenReady");
18+
"as possible " + "use Ecsact.Defaults.WhenReady");
2119
public static Ecsact.UnitySync.EntityGameObjectPool? Pool;
2220
public static EcsactRunner? Runner;
2321

0 commit comments

Comments
 (0)