git repos / blockattack-game

commit fd7693a1

sago007 · 2018-04-16 19:10
fd7693a1a501abe2d36417f476c7d2a7f5366eec patch · browse files
parent 4dbeef9f8a7fa824fc17b76b05dc3a084d0e5ee8

Limit the width of the Controller field

Changed files

M source/code/HelpGamepadState.cpp before
diff --git a/source/code/HelpGamepadState.cpp b/source/code/HelpGamepadState.cpp index 8b6c819..a164199 100644 --- a/source/code/HelpGamepadState.cpp +++ b/source/code/HelpGamepadState.cpp
@@ -64,6 +64,7 @@ HelpGamepadState::HelpGamepadState() {
s+= GetSupportedControllerNames().at(i);
}
setHelpGamepadFont(&globalData.spriteHolder->GetDataHolder(), supportedControllers, s.c_str());
+ supportedControllers.SetMaxWidth(740);
}
HelpGamepadState::~HelpGamepadState() {