فهرست منبع

Fixed an issue with menu items not being clickable

Marko Pintera 10 سال پیش
والد
کامیت
500f5e289c
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  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