mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Removed todo - seems to be ok like this
This commit is contained in:
1 parent
96f9daff25
commit
661ffe253d
1 file changed
+2
-6
@@ -83,9 +83,7 @@ namespace Artemis.Models.Profiles
|
|||||||
// Remove the clip
|
// Remove the clip
|
||||||
c.Pop();
|
c.Pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO DarthAffe 13.06.2016: This is just to make it work
|
|
||||||
//It would be better to somehow draw directly but I don't really understand dat visual stuff right now :p
|
|
||||||
using (Bitmap bmp = ImageUtilities.DrawinVisualToBitmap(visual, keyboardRect))
|
using (Bitmap bmp = ImageUtilities.DrawinVisualToBitmap(visual, keyboardRect))
|
||||||
keyboard.DrawImage(bmp, new PointF(0, 0));
|
keyboard.DrawImage(bmp, new PointF(0, 0));
|
||||||
}
|
}
|
||||||
@@ -206,9 +204,7 @@ namespace Artemis.Models.Profiles
|
|||||||
// Remove the clip
|
// Remove the clip
|
||||||
c.Pop();
|
c.Pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO DarthAffe 13.06.2016: This is just to make it work
|
|
||||||
//It would be better to somehow draw directly but I don't really understand dat visual stuff right now :p
|
|
||||||
using (Bitmap bmp = ImageUtilities.DrawinVisualToBitmap(visual, keyboardRect))
|
using (Bitmap bmp = ImageUtilities.DrawinVisualToBitmap(visual, keyboardRect))
|
||||||
keyboard.DrawImage(bmp, new PointF(0, 0));
|
keyboard.DrawImage(bmp, new PointF(0, 0));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user