Fix texture pack overlays not being resized when window is resized. (Thanks Basicaneer)

This commit is contained in:
UnknownShadow200 2016-05-28 15:05:28 +10:00
parent 266d3d5db3
commit d6e2e52201

View File

@ -421,6 +421,8 @@ namespace ClassicalSharp {
if( activeScreen != null )
activeScreen.OnResize( width, height, Width, Height );
hudScreen.OnResize( width, height, Width, Height );
foreach( Screen overlay in WarningOverlays )
overlay.OnResize( width, height, Width, Height );
width = Width;
height = Height;
}