Apply scale factor to label margin in overview

This commit is contained in:
Charles Gagnon
2022-04-10 20:00:48 -04:00
parent 00e88199a2
commit c2e084f27c

View File

@@ -101,7 +101,7 @@ var Overview = class {
}
let visibilityFunc = visible ? 'show' : 'hide';
let height = visible ? -1 : LABEL_MARGIN;
let height = visible ? -1 : LABEL_MARGIN * Utils.getScaleFactor();
let overviewControls = Main.overview._overview._controls;
overviewControls.dash.actor[visibilityFunc]();