|
|
@@ -51,8 +51,10 @@ void L10n::Start()
|
|
|
// Execute base class startup
|
|
|
Sample::Start();
|
|
|
|
|
|
- // Enable OS cursor
|
|
|
- GetSubsystem<Input>()->SetMouseVisible(true);
|
|
|
+ // Enable and center OS cursor
|
|
|
+ Input* input = GetSubsystem<Input>();
|
|
|
+ input->SetMouseVisible(true);
|
|
|
+ input->CenterMousePosition();
|
|
|
|
|
|
// Load strings from JSON files and subscribe to the change language event
|
|
|
InitLocalizationSystem();
|