Quick fix for weird "triangle selection" in touch screen for dynamic ribbon widget
This commit is contained in:
parent
80dd4732f3
commit
dccbe675fc
@ -720,6 +720,13 @@ EventPropagation DynamicRibbonWidget::mouseHovered(Widget* child, const int play
|
|||||||
//Log::info("DynamicRibbonWidget", "mouseHovered %d", playerID);
|
//Log::info("DynamicRibbonWidget", "mouseHovered %d", playerID);
|
||||||
|
|
||||||
updateLabel();
|
updateLabel();
|
||||||
|
|
||||||
|
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();
|
propagateSelection();
|
||||||
|
|
||||||
if (getSelectedRibbon(playerID) != NULL)
|
if (getSelectedRibbon(playerID) != NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user