[Scummvm-git-logs] scummvm master -> 38ce472fb4e269889b8af9a686fa8abb5eb6733a

lephilousophe noreply at scummvm.org
Sun Aug 23 08:50:26 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
38ce472fb4 GUI: Restore TTS speak on list widget items


Commit: 38ce472fb4e269889b8af9a686fa8abb5eb6733a
    https://github.com/scummvm/scummvm/commit/38ce472fb4e269889b8af9a686fa8abb5eb6733a
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-08-23T10:42:00+02:00

Commit Message:
GUI: Restore TTS speak on list widget items

Following 87818dfae6e6, items were spoken only if a scroll bar was
visible.

Changed paths:
    gui/widgets/list.cpp


diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp
index 3e34a5a5a17..64219878cc4 100644
--- a/gui/widgets/list.cpp
+++ b/gui/widgets/list.cpp
@@ -471,10 +471,10 @@ void ListWidget::handleMouseWheel(int x, int y, int direction) {
 }
 
 void ListWidget::handleMouseMoved(int x, int y, int button) {
-	if (!isEnabled() || !_scrollBar->isVisible())
+	if (!isEnabled())
 		return;
 
-	if (_isMouseDown && _dragLastY != 0) {
+	if (_isMouseDown && _dragLastY != 0 && _scrollBar->isVisible()) {
 		if (!_isDragging && ABS(y - _dragStartY) > kDragThreshold)
 			_isDragging = true;
 




More information about the Scummvm-git-logs mailing list