1
0

ticleanup

This commit is contained in:
MarcEricMartel 2023-11-12 17:54:04 -05:00
parent 075a6b94e1
commit 541b1668ba

View File

@ -28,8 +28,7 @@ public class CanvasService {
// TODO: Dessiner à partir des commandes de Franz. // TODO: Dessiner à partir des commandes de Franz.
public async void Draw(IEnumerable<CanvasCommand> lscommand) public async void Draw(IEnumerable<CanvasCommand> lscommand) {
{
if (_currentCanvasContext is null) if (_currentCanvasContext is null)
_currentCanvasContext = await myCanvas.CreateCanvas2DAsync(); _currentCanvasContext = await myCanvas.CreateCanvas2DAsync();
await _currentCanvasContext.BeginBatchAsync(); await _currentCanvasContext.BeginBatchAsync();