Fixed cursor obstruction issues and hiding main menu popup issues
This commit is contained in:
parent
16c3097534
commit
ed36036aea
21 changed files with 124 additions and 141 deletions
|
|
@ -46,7 +46,7 @@ void GridModifyTool::input_mouse_button_on_canvas_callback(const InputManager::M
|
|||
if(button.button == InputManager::MouseButton::LEFT) {
|
||||
switch(selectionMode) {
|
||||
case 0:
|
||||
if(button.down) {
|
||||
if(button.down && !drawP.world.main.g.gui.cursor_obstructed()) {
|
||||
NetworkingObjects::NetObjTemporaryPtr<WorldGrid> gLock = grid.lock();
|
||||
if(gLock) {
|
||||
WorldGrid& g = *gLock;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue