Browse Source

Use instant scrolling in the VisualTests application

Michael Ragazzon 2 years ago
parent
commit
b5e82a47d4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Tests/Source/VisualTests/main.cpp

+ 1 - 0
Tests/Source/VisualTests/main.cpp

@@ -107,6 +107,7 @@ int main(int argc, char** argv)
 
 	Rml::Debugger::Initialise(context);
 	Shell::LoadFonts();
+	context->SetDefaultScrollBehavior(Rml::ScrollBehavior::Instant, 1.f);
 
 	{
 		const Rml::StringList directories = GetTestInputDirectories();