TypeWave uses KeyboardProvider's bitmap now

This commit is contained in:
SpoinkyNL committed 2016-02-21 22:46:10 +01:00
1 parent bf9a30bea2
commit 0664ed84a3
1 file changed
+1 -3
@@ -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;