mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Added Logitech support (limited to G910 and G403 for now)
Added a splashscreen
This commit is contained in:
1 parent
5597803e3c
commit
eecbe4636e
138 files changed
+1417
-64
No files matched your search
@@ -99,9 +99,12 @@ namespace Artemis.Core.Models.Surface
|
||||
(int) Math.Round(RgbDevice.Size.Height * Surface.Scale, MidpointRounding.AwayFromZero)
|
||||
);
|
||||
|
||||
if (!Leds.Any())
|
||||
return;
|
||||
|
||||
foreach (var led in Leds)
|
||||
led.CalculateRenderRectangle();
|
||||
|
||||
|
||||
var path = new GraphicsPath();
|
||||
path.AddRectangles(Leds.Select(l => l.AbsoluteRenderRectangle).ToArray());
|
||||
RenderPath = path;
|
||||
|
||||
Reference in new issue
Block a user