mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Replace any uses of CGUIScrollBar and IGUIScrollBar with GUIScrollBar
This commit is contained in:
parent
124d064015
commit
9d62abbe46
2 changed files with 5 additions and 5 deletions
|
@ -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() &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue