mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Merge branch 'development' into VisualScripting
This commit is contained in:
commit
3874078f16
35 files changed
+790
-506
No files matched your search
@@ -259,8 +259,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