[Scummvm-git-logs] scummvm master -> 330c98806bd95665b4db845112b9fddb2c73625f

sev- noreply at scummvm.org
Sat Sep 6 10:09:27 UTC 2025


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

Summary:
36c5f7bc67 DIRECTOR: DT: Fix crash at multipage Score view
330c98806b DIRECTOR: DT: Make all Score columns uniform in size


Commit: 36c5f7bc670b98f1e4cccafa0f5a84cb904bf44d
    https://github.com/scummvm/scummvm/commit/36c5f7bc670b98f1e4cccafa0f5a84cb904bf44d
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-09-06T12:09:21+02:00

Commit Message:
DIRECTOR: DT: Fix crash at multipage Score view

Changed paths:
    engines/director/debugger/dt-score.cpp


diff --git a/engines/director/debugger/dt-score.cpp b/engines/director/debugger/dt-score.cpp
index a643d26beb5..7ad706a130f 100644
--- a/engines/director/debugger/dt-score.cpp
+++ b/engines/director/debugger/dt-score.cpp
@@ -567,8 +567,8 @@ void showScore() {
 		uint numChannels = score->_scoreCache[0]->_sprites.size();
 		uint tableColumns = MAX(numFrames + 5, 25U); // Set minimal table width to 25
 
-		if (tableColumns > kMaxColumnsInTable - 2) // Current restriction of ImGui
-			tableColumns = kMaxColumnsInTable - 2;
+		if (tableColumns > kMaxColumnsInTable - 3) // Current restriction of ImGui
+			tableColumns = kMaxColumnsInTable - 3;
 
 		ImGuiTableFlags addonFlags = _state->_scoreMode == kModeExtended ? 0 : ImGuiTableFlags_RowBg;
 


Commit: 330c98806bd95665b4db845112b9fddb2c73625f
    https://github.com/scummvm/scummvm/commit/330c98806bd95665b4db845112b9fddb2c73625f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-09-06T12:09:21+02:00

Commit Message:
DIRECTOR: DT: Make all Score columns uniform in size

Changed paths:
    engines/director/debugger/dt-score.cpp


diff --git a/engines/director/debugger/dt-score.cpp b/engines/director/debugger/dt-score.cpp
index 7ad706a130f..06cb3304848 100644
--- a/engines/director/debugger/dt-score.cpp
+++ b/engines/director/debugger/dt-score.cpp
@@ -576,7 +576,7 @@ void showScore() {
 
 		if (ImGui::BeginTable("Score", tableColumns + 2,
 					ImGuiTableFlags_Borders | ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY |
-					ImGuiTableFlags_SizingStretchProp | addonFlags)) {
+					addonFlags)) {
 			ImGuiTableFlags flags = ImGuiTableColumnFlags_WidthFixed;
 
 			ImGui::TableSetupScrollFreeze(2, 2);




More information about the Scummvm-git-logs mailing list