1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

TypeWave uses KeyboardProvider's bitmap now

This commit is contained in:
SpoinkyNL 2016-02-21 22:46:10 +01:00
parent bf9a30bea2
commit 0664ed84a3

View File

@ -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;