1
0
forked from 0ad/0ad

Reverts broken change from 022fc4c47c.

This was SVN commit r11694.
This commit is contained in:
historic_bruno 2012-04-29 03:20:00 +00:00
parent 022fc4c47c
commit cafb817446

View File

@ -214,8 +214,8 @@ private:
// feels like a fairly natural solution to me, since I can use
// e.g. brush-editing controls normally, and then move the mouse to
// see the brush outline and magically get given back full control
// of the camera. Only do that when part of our window has focus.
if (evt.Moving() && wxWindow::FindFocus())
// of the camera.
if (evt.Moving())
SetFocus();
if (m_ScenarioEditor.GetToolManager().GetCurrentTool()->OnMouse(evt))