Skip to content
Permalink
Browse files

Fix dragging another window over the stone background of chat tab in …

…configgui, causing stone background to be partially filled with garbage pixels
  • Loading branch information...
UnknownShadow200 committed May 29, 2017
1 parent 8c65158 commit cb5cac51190132118d5f1892a95afb3fca4f1fd3
Showing with 2 additions and 2 deletions.
  1. +2 −2 ConfigGUI/ChatPreview.cs
@@ -105,8 +105,8 @@ sealed class TextSegment {


protected override void OnPaint( PaintEventArgs e ) {
e.Graphics.DrawImageUnscaledAndClipped( Resources.ChatBackground, e.ClipRectangle );

e.Graphics.DrawImage( Resources.ChatBackground, e.ClipRectangle.X, e.ClipRectangle.Y,
e.ClipRectangle, GraphicsUnit.Pixel );
e.Graphics.TextRenderingHint = TextRenderingHint.SingleBitPerPixel;

if( segments != null && segments.Length > 0 ) {

0 comments on commit cb5cac5

Please sign in to comment.
You can’t perform that action at this time.