mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added size observer to enable auto-centering the editor at some point
This commit is contained in:
1 parent
8161f19f6c
commit
079e88f91f
5 files changed
+85
-46
No files matched your search
@@ -20,6 +20,8 @@ namespace Artemis.UI.Screens.Shared
|
||||
|
||||
public double PanX { get; set; }
|
||||
public double PanY { get; set; }
|
||||
public double CanvasWidth { get; set; }
|
||||
public double CanvasHeight { get; set; }
|
||||
|
||||
public Rect BackgroundViewport => new Rect(PanX, PanY, 20, 20);
|
||||
|
||||
|
||||
Reference in new issue
Block a user