Hiding the scrollbar when the minimap is used, fixes the "gap" issue.

This commit is contained in:
Ernie Pasveer
2026-07-27 15:57:59 -05:00
parent dc8a6c49a5
commit 2fb40f25e5
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -158,6 +158,8 @@ void SeerEditorWidgetAssemblyArea::enableMiniMapArea (bool flag) {
_enableMiniMapArea = flag;
setVerticalScrollBarPolicy(flag ? Qt::ScrollBarAlwaysOff : Qt::ScrollBarAsNeeded);
invalidateMiniMapCache();
updateMarginAreasWidth(0);
}
+2
View File
@@ -135,6 +135,8 @@ void SeerEditorWidgetSourceArea::enableMiniMapArea (bool flag) {
_enableMiniMapArea = flag;
setVerticalScrollBarPolicy(flag ? Qt::ScrollBarAlwaysOff : Qt::ScrollBarAsNeeded);
invalidateMiniMapCache();
updateMarginAreasWidth(0);
}