mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-05 21:16:28 +03:00
Small improvements in breadcrumb. Minor refactor of EventDispatcher::getMousePos.
This commit is contained in:
@@ -504,7 +504,7 @@ void StatusBuildOutputController::createContainer() {
|
||||
UITableCell* cell = mTableIssues->getCellFromIndex( idx );
|
||||
if ( modelEvent->getTriggerEvent()->getType() == Event::MouseClick ||
|
||||
cell == nullptr ) {
|
||||
Vector2f pos( mApp->getWindow()->getInput()->getMousePosf() );
|
||||
Vector2f pos( mApp->getWindow()->getInput()->getMousePos().asFloat() );
|
||||
menu->nodeToWorldTranslation( pos );
|
||||
UIMenu::findBestMenuPos( pos, menu );
|
||||
menu->setPixelsPosition( pos );
|
||||
|
||||
Reference in New Issue
Block a user