mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Merge branch 'development'
This commit is contained in:
commit
0e07dbd631
20 files changed
+219
-172
No files matched your search
@@ -261,8 +261,14 @@ namespace Artemis.UI.Screens.ProfileEditor.Visualization
|
||||
|
||||
public void ResetZoomAndPan()
|
||||
{
|
||||
if (!Devices.Any())
|
||||
{
|
||||
PanZoomViewModel.Reset();
|
||||
return;
|
||||
}
|
||||
|
||||
// Create a rect surrounding all devices
|
||||
SKRect rect = new SKRect(
|
||||
SKRect rect = new(
|
||||
Devices.Min(d => d.Rectangle.Left),
|
||||
Devices.Min(d => d.Rectangle.Top),
|
||||
Devices.Max(d => d.Rectangle.Right),
|
||||
|
||||
Reference in new issue
Block a user