Reset prediction engine after size has changed (i.e. after Resize is applied)

This commit is contained in:
Keith Winstein
2012-04-16 03:06:11 -04:00
parent 679b819216
commit cca925e020
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -191,6 +191,8 @@ namespace Overlay {
unsigned int send_interval;
int last_height, last_width;
public:
enum DisplayPreference {
Always,
@@ -227,6 +229,7 @@ namespace Overlay {
glitch_trigger( 0 ),
last_quick_confirmation( 0 ),
send_interval( 250 ),
last_height( 0 ), last_width( 0 ),
display_preference( Adaptive )
{
}