Merge branch 'master' into jgrpp
# Conflicts: # CMakeLists.txt # src/saveload/town_sl.cpp # src/screenshot.h # src/script/api/ai/ai_date.hpp.sq # src/script/api/ai/ai_marine.hpp.sq # src/script/api/ai/ai_station.hpp.sq # src/script/api/game/game_date.hpp.sq # src/script/api/game/game_marine.hpp.sq # src/script/api/game/game_station.hpp.sq # src/script/api/game/game_window.hpp.sq # src/script/api/script_window.hpp # src/script/api/template/template_window.hpp.sq # src/signal.cpp # src/statusbar_gui.cpp # src/toolbar_gui.cpp # src/viewport.cpp # src/viewport_func.h
This commit is contained in:
@@ -90,7 +90,7 @@ public:
|
||||
switch (widget) {
|
||||
case WID_W_CENTER_VIEW: // scroll to location
|
||||
if (_ctrl_pressed) {
|
||||
ShowExtraViewPortWindow(this->GetCenterTile());
|
||||
ShowExtraViewportWindow(this->GetCenterTile());
|
||||
} else {
|
||||
ScrollMainWindowToTile(this->GetCenterTile());
|
||||
}
|
||||
|
Reference in New Issue
Block a user