Quick fix for weird "triangle selection" in touch screen for dynamic ribbon widget
This commit is contained in:
parent
80dd4732f3
commit
dccbe675fc
@ -720,7 +720,14 @@ EventPropagation DynamicRibbonWidget::mouseHovered(Widget* child, const int play
|
||||
//Log::info("DynamicRibbonWidget", "mouseHovered %d", playerID);
|
||||
|
||||
updateLabel();
|
||||
propagateSelection();
|
||||
|
||||
bool multitouch_enabled = (UserConfigParams::m_multitouch_active == 1 &&
|
||||
irr_driver->getDevice()->supportsTouchDevice()) ||
|
||||
UserConfigParams::m_multitouch_active > 1;
|
||||
// For now disable it to fix the weird "triangle selection" for touch
|
||||
// screen
|
||||
if (!multitouch_enabled)
|
||||
propagateSelection();
|
||||
|
||||
if (getSelectedRibbon(playerID) != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user