[Scummvm-git-logs] scummvm master -> f3278c70628ee925f4f235bd6220b0be29add3f9
sluicebox
22204938+sluicebox at users.noreply.github.com
Sat Aug 7 22:15:46 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:
f3278c7062 GUI: Fix debug console scrollbar scaling
Commit: f3278c70628ee925f4f235bd6220b0be29add3f9
https://github.com/scummvm/scummvm/commit/f3278c70628ee925f4f235bd6220b0be29add3f9
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-08-07T17:15:05-05:00
Commit Message:
GUI: Fix debug console scrollbar scaling
Fixes bug #12783
Changed paths:
gui/console.cpp
diff --git a/gui/console.cpp b/gui/console.cpp
index bfc9488b69..48540f27fd 100644
--- a/gui/console.cpp
+++ b/gui/console.cpp
@@ -110,7 +110,7 @@ void ConsoleDialog::init() {
// Set scrollbar dimensions
int scrollBarWidth = g_gui.xmlEval()->getVar("Globals.Scrollbar.Width", 0);
- _scrollBar->resize(_w - scrollBarWidth - 1, 0, scrollBarWidth, _h);
+ _scrollBar->resize(_w - scrollBarWidth - 1, 0, scrollBarWidth, _h, false);
_pageWidth = (_w - scrollBarWidth - 2 - _leftPadding - _topPadding - scrollBarWidth) / kConsoleCharWidth;
_linesPerPage = (_h - 2 - _topPadding - _bottomPadding) / kConsoleLineHeight;
More information about the Scummvm-git-logs
mailing list