Explorar el Código

Fixed an issue with menu items not being clickable

Marko Pintera hace 10 años
padre
commit
500f5e289c
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 1 1
      BansheeEngine/Source/BsGUIDropDownMenu.cpp
  2. 0 1
      TODO.txt

+ 1 - 1
BansheeEngine/Source/BsGUIDropDownMenu.cpp

@@ -95,7 +95,7 @@ namespace BansheeEngine
 		GUILayoutData backHitboxLayoutData = mBackHitBox->_getLayoutData();
 		backHitboxLayoutData.setWidgetDepth(0);
 		backHitboxLayoutData.setPanelDepth(std::numeric_limits<INT16>::max());
-		mBackHitBox->_setLayoutData(hitboxLayoutData);
+		mBackHitBox->_setLayoutData(backHitboxLayoutData);
 		mBackHitBox->_changeParentWidget(this);
 		mBackHitBox->_markContentAsDirty();
 

+ 0 - 1
TODO.txt

@@ -62,7 +62,6 @@ Code quality improvements:
 ----------------------------------------------------------------------
 Polish stage 1
 
-When elements are docked in the main window the menu bar drop down appears behind them
 Click on empty part of the menu bar doesn't close the menu bar (ignoring NC area clicks?)
 Clicking on a parent of a menu item just reopens that item but I would expect it to close it
 Clicking on menu items doesn't seem to work