Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd84d676 authored by nicolasroard's avatar nicolasroard
Browse files

Fix history panel overlap

bug:7545507
Change-Id: I06236f3025191896c851af1d84dc48a4dde18b1d
parent 987bc8aa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -465,6 +465,10 @@ public class FilterShowActivity extends Activity implements OnItemClickListener,
        if (mainPanelWidth == 0) {
            mainPanelWidth = mainViewWidth;
        }
        int filtersPanelWidth = findViewById(R.id.filtersPanel).getWidth();
        if (mainPanelWidth < filtersPanelWidth) {
            mainPanelWidth = filtersPanelWidth;
        }
        int leftOver = mainViewWidth - mainPanelWidth - accessoryPanelWidth;
        if (leftOver < 0) {
            return -accessoryPanelWidth;