mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Added event to intercept the creation of absolute paths
This commit is contained in:
1 parent
ac11f0654c
commit
fe8adbd849
30 files changed
+155
-37
No files matched your search
@@ -32,7 +32,7 @@ namespace RGB.NET.Devices.Corsair
|
||||
InitializeLed(LedId.Headset1, new Rectangle(0, 0, 10, 10));
|
||||
InitializeLed(LedId.Headset2, new Rectangle(10, 0, 10, 10));
|
||||
|
||||
ApplyLayoutFromFile(PathHelper.GetAbsolutePath($@"Layouts\Corsair\Headsets\{DeviceInfo.Model.Replace(" ", string.Empty).ToUpper()}.xml"), null);
|
||||
ApplyLayoutFromFile(PathHelper.GetAbsolutePath(this, @"Layouts\Corsair\Headsets", $"{DeviceInfo.Model.Replace(" ", string.Empty).ToUpper()}.xml"), null);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in new issue
Block a user