[Scummvm-git-logs] scummvm master -> 99b4aa4dbb3a132a5e5f0cb7aa4e0b59fd937799

eriktorbjorn noreply at scummvm.org
Mon Dec 20 09:58:49 UTC 2021


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

Summary:
99b4aa4dbb SHERLOCK: Fix Rose Tatto save/load scrollbar bounds


Commit: 99b4aa4dbb3a132a5e5f0cb7aa4e0b59fd937799
    https://github.com/scummvm/scummvm/commit/99b4aa4dbb3a132a5e5f0cb7aa4e0b59fd937799
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-20T10:57:58+01:00

Commit Message:
SHERLOCK: Fix Rose Tatto save/load scrollbar bounds

Changed paths:
    engines/sherlock/tattoo/widget_files.cpp


diff --git a/engines/sherlock/tattoo/widget_files.cpp b/engines/sherlock/tattoo/widget_files.cpp
index 32a936944f..bbb51b6e0e 100644
--- a/engines/sherlock/tattoo/widget_files.cpp
+++ b/engines/sherlock/tattoo/widget_files.cpp
@@ -416,8 +416,8 @@ bool WidgetFiles::getFilename() {
 }
 
 Common::Rect WidgetFiles::getScrollBarBounds() const {
-	Common::Rect scrollRect(BUTTON_SIZE, _bounds.height() - _surface.fontHeight() - 16);
-	scrollRect.moveTo(_bounds.width() - BUTTON_SIZE - 3, _surface.fontHeight() + 13);
+	Common::Rect scrollRect(BUTTON_SIZE, _bounds.height() - _surface.fontHeight() - 13);
+	scrollRect.moveTo(_bounds.width() - BUTTON_SIZE - 3, _surface.fontHeight() + 10);
 
 	return scrollRect;
 }




More information about the Scummvm-git-logs mailing list