mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
fix TORQUE_TOOLS = off compilation
This commit is contained in:
parent
9836f6eb30
commit
4a7104e5ea
38 changed files with 80 additions and 56 deletions
|
|
@ -870,11 +870,13 @@ void GuiWindowCtrl::onMouseDragged(const GuiEvent &event)
|
|||
GuiCanvas* guiCanvas = getRoot();
|
||||
if (guiCanvas)
|
||||
{
|
||||
#ifdef TORQUE_TOOLS
|
||||
GuiMenuBar* menuBar = dynamic_cast<GuiMenuBar*>(guiCanvas->getMenuBar());
|
||||
if (menuBar)
|
||||
{
|
||||
menuBarHeight = menuBar->getHeight();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Build valid snap and window vectors to compare against
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue