Merge branch 'dashboard2' of https://git.mixedup.dev/ReFuel/Dashboard into HEAD

This commit is contained in:
2026-05-17 21:46:46 +03:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -14,11 +14,13 @@ namespace Dashboard.Drawing
public class ImageBrush(Image image) : Brush public class ImageBrush(Image image) : Brush
{ {
public Image Image { get; set; } = image;
public Box2d TextureCoordinates { get; set; } = new Box2d(0, 0, 1, 1); public Box2d TextureCoordinates { get; set; } = new Box2d(0, 0, 1, 1);
} }
public class NinePatchImageBrush(Image image) : Brush public class NinePatchImageBrush(Image image) : Brush
{ {
public Image Image { get; set; } = image;
public Box2d CenterCoordinates { get; set; } = new Box2d(0, 0, 1, 1); public Box2d CenterCoordinates { get; set; } = new Box2d(0, 0, 1, 1);
public Vector4 Extents { get; set; } = Vector4.Zero; public Vector4 Extents { get; set; } = Vector4.Zero;
} }
+1 -1
View File
@@ -70,7 +70,7 @@ namespace Dashboard.Pal
CancellationToken = token; CancellationToken = token;
CancellationToken.Value.Register(() => Quit = true); CancellationToken.Value.Register(() => Quit = true);
InitializeInternal(); Initialize();
while (!Quit && !token.IsCancellationRequested) while (!Quit && !token.IsCancellationRequested)
{ {