mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 21:38:38 +00:00
TypeWave uses KeyboardProvider's bitmap now
This commit is contained in:
parent
bf9a30bea2
commit
0664ed84a3
@ -69,11 +69,9 @@ namespace Artemis.Modules.Effects.TypeWave
|
||||
if (_waves.Count == 0)
|
||||
return null;
|
||||
|
||||
var bitmap = new Bitmap(21, 6);
|
||||
var bitmap = MainModel.ActiveKeyboard.KeyboardBitmap();
|
||||
using (var g = Graphics.FromImage(bitmap))
|
||||
{
|
||||
// TODO: Might implement a user-defined background color, but looks ugly most of the time
|
||||
//g.Clear(Color.FromArgb(100, 255, 0, 255));
|
||||
g.Clear(Color.Transparent);
|
||||
g.SmoothingMode = SmoothingMode.HighQuality;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user