mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Made Device, DeviceLed and Surface implement INotifyPropertChange
This commit is contained in:
1 parent
9f0d5fd7e0
commit
1935b72199
14 files changed
+107
-37
No files matched your search
@@ -90,6 +90,8 @@ namespace Artemis.Plugins.Modules.General
|
||||
brush.TranslateTransform((int) Math.Round(device.RenderRectangle.Width / 100.0 * MovePercentage), 0);
|
||||
graphics.FillPath(brush, device.RenderPath);
|
||||
brush.TranslateTransform((int) Math.Round(device.RenderRectangle.Width / 100.0 * MovePercentage) * -1, 0);
|
||||
|
||||
graphics.DrawRectangle(new Pen(Color.Red), device.RenderRectangle);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user