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

Commit f63c85a0 authored by Kshitij's avatar Kshitij
Browse files

Merge branch '2818os-u-newapp_pos_fix' into 'v1-u'

fix: Resolve determination of next empty space in landscape

See merge request e/os/BlissLauncher3!78
parents a04fc820 b58e3437
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class WorkspaceItemSpaceFinder {
            int[] xy, int spanX, int spanY) {
        InvariantDeviceProfile profile = app.getInvariantDeviceProfile();

        GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows);
        GridOccupancy occupied = new GridOccupancy(profile.numColumnsFixed, profile.numRowsFixed);
        if (occupiedPos != null) {
            for (ItemInfo r : occupiedPos) {
                occupied.markCells(r, true);