mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Replace any uses of CGUIScrollBar and IGUIScrollBar with GUIScrollBar
This commit is contained in:
@@ -901,7 +901,7 @@ bool GUITable::OnEvent(const SEvent &event)
|
||||
setToolTipText(cell ? m_strings[cell->tooltip_index].c_str() : L"");
|
||||
|
||||
// Fix for #1567/#1806:
|
||||
// IGUIScrollBar passes double click events to its parent,
|
||||
// GUIScrollBar passes double click events to its parent,
|
||||
// which we don't want. Detect this case and discard the event
|
||||
if (event.MouseInput.Event != EMIE_MOUSE_MOVED &&
|
||||
m_scrollbar->isVisible() &&
|
||||
|
Reference in New Issue
Block a user