diff --git a/BlazorCanvas/BlazorCanvas/Pages/Index.razor b/BlazorCanvas/BlazorCanvas/Pages/Index.razor
index ab4bf37..0209b6a 100644
--- a/BlazorCanvas/BlazorCanvas/Pages/Index.razor
+++ b/BlazorCanvas/BlazorCanvas/Pages/Index.razor
@@ -8,23 +8,32 @@
@inject IJSRuntime jsRuntime
- On dessine en gang!
-
+ Canvas Communautaire!
+
-
+
@@ -44,8 +53,7 @@
if (eventArgs.Buttons == 0)
return;
- if (divCanvas.Id?.Length > 0)
- {
+ if (divCanvas.Id?.Length > 0) {
string data = await jsRuntime.InvokeAsync("getDivCanvasOffsets",
new object[] { divCanvas });
JObject? offsets = (JObject?)JsonConvert.DeserializeObject(data);
@@ -59,7 +67,6 @@
await currentCanvasContext.SetFillStyleAsync(currentcolor);
await currentCanvasContext.FillRectAsync(mouseX, mouseY, pointsize, pointsize);
-
}
}
}
\ No newline at end of file